Need help: Splitting a string

admin

Administrator
Staff member
i have text area to input words, lets say i entered ->
"select * from company;select * from users;" in the text area.

i have declared 2, string1 and string2. how am i able to separate the string in the text box so that i am able to get ->
string1="select * from company;"
string2="select * from users;"

thankx to anyone who is able to solve my problem.
 
Back
Top