Ilakkk
3 years agoContributor
Get numbers from string
How can I get numbers with string. I need to print only the numbers that contains string
How can I scroll down in test complete by using JavaScript
How can I get numbers with string. I need to print only the numbers that contains string
How can I scroll down in test complete by using JavaScript
Do you have an example of your data?
Example,
function Test1()
{
var val = parseInt("-077");
Log.Message(val);
var val = parseFloat("384.75a");
Log.Message(val);
}
I misread your question, sorry. You want to find the length of a string? See JavaScript String length