How to convert string " 123" to integer 123
807589Jun 30 2008 — edited Jun 30 2008Hello guys!
I have a question here, if a string is " 123", how can I convert it to integer 123?
The point is in the string " 123", before 123 there are some spaces, I can not directly use this command [Integer.parseInt].
Please help me, thanks.
Lee