Reading from a string or stringbuffer
Posted on 2004-10-13
I am successfully able to read line-by-line from a file stream. Is there a way to do the same thing using a string or a stringbuffer? In other words, if I had information that was passed in from an HTML <TEXTAREA> and it was multiple lines, is there a way in Java to read that line-by-line?