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
http://twitter.com/the_jamezp


On Tue, Sep 22, 2009 at 08:29, Lim Hock-Chai
<Lim.Hock-Chai@xxxxxxxxxxxxxxx>wrote:

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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.