Hi all,
I have a
string made up like this:
[field1][field2][field3][field4]
I'd like to break in tokens so that I have a string array like this:
mystring[0] = "field1"
mystring[1] = "field2"
mystring[2] = "field3"
....
I have tried with the new
java method of Class String
mystring = string.split("\\[*\\]");
but I still cannot achieve it correctly.
Anybody can help me ?
Thanks
Francesco