Original Post
I have a String with some lines and words in it. Lines are seprated by "\n" and words are seperated by one or more ' '. How do I read a line from a String? So I need a function the from string it will return me the first line, and maybe another function that will return me the String without the first line so I could read all the lines. From a line, how do I read a single word? and how do I read the line without the first word? I looked into StringBuffer and StringReader but didnt find anything that would help me with this problem. How can I implement this, have any idea? Thanks in advance.