Tuesday, April 24, 2012

seperating strings by -

I have a string hai-welcome.



I need to split the above string using - separator:



mySstring = "hai-welcome"
Seperate as:



firstString = "hai"
secondString = "welcome.





No comments:

Post a Comment