Reading string more efficiently

Posted by c0mrade on Stack Overflow See other posts from Stack Overflow or by c0mrade
Published on 2010-04-12T15:28:23Z Indexed on 2010/04/12 15:33 UTC
Read the original article Hit count: 409

Filed under:
|

I'm getting pretty big input string into my method, but what I actually need is just first line of that string. Is it possible to extract just the first line of an already existing string?

© Stack Overflow or respective owner

Related posts about java

Related posts about best-practices