1
Answer

Numerical from String

nzh

nzh

17y
1.6k
1
Hi everyone 
If i create a string object, how can i take the numerical value in this string object? Is there an easy method of string class?
For example:
 
String myString;
myString = "sth389";
int ab = myString.XXX ;
 
I want the value of  "ab" to be 389 here.
Any suggestions?
Answers (1)
Next Recommended Forum