How do I sidestep TT_NUMBER from StreamTokenizer <p>I replaced a call to String.split() with a loop using StreamTokenizer, because my users needed quoting functionality. But now I'm having problems from numbers being converted to numbers instead of left as Strings. In my loop if I get a TT_NUMBER, I convert it back to a String with Double.toString(). But that is not working for some long serial numbers that have to get sent to me; they are being converted to exponential notation.</p> <p>I can change the way I am converting numbers back into Strings, but I would really like to just not parse numbers in the first place. I see that StreamTokenizer has a parseNumbers() method, that turns on number parsing, but there doesn't seem to be a way to turn it off. What do I have to do to create and configure a parser that is identical to the default but does not parse numbers?</p>