I have a string, say "600sp" from which I wish to obtain the integer part (600).
If I do Integer.valueOf("600sp")
I get an exception due to the non-numeric value "s" which is encountered in the string.
What is the fastest cleanest way to grab the integer part?
Thanks!