nzh

nzh

  • NA
  • 2
  • 0

Numerical from String

Dec 12 2006 3:00 AM
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)