Originally posted by unyime inok:
inString.trim();
The trim() method doesn't modify the
String as all Strings are immutable. Instead, it returns a (possibly new) String with leading and trailing whitespace removed.
How are you using the other number you're reading? Why do you have to put it into the array?