Hi all,
can any of you plz suggest me how to parse a
string that is passed to a javascript method.
Note that there may be more than one delimiter present anywhere in the string.In the following example i have to strip off all the spl chars(like "$" & "{" and so on) and extract only the alphabets.
Ex :
i/p(string) : "${abcd}${efgh}"
o/p (String[]) : {"abcd","efgh"}
In
java this is pretty straight as we have StringTokenizer class there.but javascript is not allowing any such classes.but still how to get the output?.plz suggest me the soln at the earliest.
Regards,
Priya.