How to split a string in java by using following String? -
this question has answer here:
- how split string in java 29 answers
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
Post a Comment