Ah, I see. You might want to take a look at java.util.Scanner if your on
Java 5 or higher. It has a constructor for an InputStream and you can use
the Scanner.useDelimiter() method to use the new line character.

Just a thought.

James R. Perkins

On Tue, Sep 22, 2009 at 08:29, Lim Hock-Chai

No error. It just not spliting my string when I use that.

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact