how can i read one line from string ??? i have string like this :

hello ; boy ; sun


how can i read first line only ?

If this wouldn't be mobile section and we been in Java I would say use BufferedReader.
Since this is mobile section
iPhone - idea
JME - no reading line by line, you need to implement your own parser
Android - BufferedReader

PS: In the future would be nice if you stated which platform we looking at...