How to split a string in java by using following String? -


this question has answer here:

how split following string how split following string "llslotbook17-07-2015@friday@1@10.00am-12.00pm@10@lmv,mcwg" ',' , '@'

you can use string.split(regexp) function :

string[] array = "llslotbook17-07-2015@friday@1@10.00am-12.00pm@10@lmv,mcwg".split(",|@"); 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -