Hello,
How can i check a value contains a number ?
Example something like this ? output_matches.ToString.Contains( integer ?)
Hello,
How can i check a value contains a number ?
Example something like this ? output_matches.ToString.Contains( integer ?)
Hi @mz3bel,
Use IsNumeric key word to check whether the string contains numbers or not. For this you need to loop through the length of the string and check whether the character is numeric or not
hi,
Like this isNumeric(“output_matches(0)”) ? Tested it returns FALSE!
I want to check the result of a regex code… which should return me only numbers… and it does!
I already did the matches activity to get the number from a text… but now i ve to test if it’s a number or not?
In fact the idea is that i use putty, i use than get visible text to get the text than matches to extract what i need… and since putty or linux sometimes takes some time to show, so i did a while loop, to check if the value is numeric or not so it has to wait untel it shows the value than proceed…
If whole string is Numeric than it will return True else will return false.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.