Here is the code that takes the 2 column description of the table
var descricao = $(elemento).closest('tr').find('td').eq('1').html();
This is the description
CALIFORNIA [2,90] [BRE25] [3x80] [BRD25] [ARTICLE: 1,000 - COLOR: 02] - W...
I have this String in oracle: 'Linked Order with Sale: 4575987/10'
and would like to return only the order number in this case 4575987/10.
So far the maximum I've achieved is by passing a fixed value, but you are going to invoke a fixed number I...
I'm in a problem where I want a string to become an array with the words separated, but the code returns duplicate arrays
var string = 'xicara,cafecafe';
var array1 = ['casa', 'xicara', 'xicarada', 'xicrinha', 'xi', 'carro', 'cafe', ',...
I made this code and it basically gets two numbers in binaries (without separating spaces between bits), and performs (at least in the values in which I tested) the subtraction correctly. I tried to warn myself if one of the numbers is smaller t...
What I want to do is very simple. I make the program ask for a password, the program compares, and if the password is valid, the program proceeds.
An example:
char pass[5];
printf("insira a senha: ");
while(pass!="asdfg") { //enquanto a...
I need the program to return the amount of times each% of% was repeated within String , but I could not think of a way to have my counter reused for each item, as it shows there at the output, he says that the data 3 repeated 4, 5 and 6...
I want to pass the strings of a txt file to an array and as soon as each line was passed to the array the program would run it normally, then it would repeat and pick up the second string from the txt file. Everything is being done in javascript...
Save!
I've been looking for elegant ways to reverse strings, arrays, and integers in Python.
What do you think of my codes below and what do they suggest to improve them? They work ...
Thank you!
frase = 'eu gosto de python'[::-1]
num...