How to split the string and store into arraylist?

Aug 13 2009 4:51 AM
Hi friends.
I have string like below
This is my string "
english_txt_1-I am a Hindi lecturer.I am a Hindi teacher.& english_txt_2-I am a Hindi speaking person.My name is Gopal Verma.&"


i have the two label and one next click button.
when i click on next button now i want separate string between '-' and '&' operator and put into array and display on two label controls.
same i click agian next button display next two sentence on two label.
i got stucked how to split this string and how to store into arraylist.
i appreciate if someone help me..

Answers (2)