Find and extract a number from a string. The question doesn't explicitly state that you just want the characters 0 to 9 but it wouldn't be a stretch to believe that is true from your example set and comments. So here is the code that does that. Only = String. Empty. Do not use Is. Digit as it will include more than the characters 0 through to 9. Only += c. Why you don't want to use Char. Is. Digit() - Numbers include characters such as fractions, subscripts, superscripts, Roman numerals, currency numerators, encircled numbers, and script- specific digits. ![]() ![]() Don't know what to choose? . Read the reviews of the best mobile phone Spy Software.For all parents and employers searching Mobile Phone Spy Software. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2018
Categories |