I am using the following code:
string array [] = "aba ; B12 ".split (" [4 \\,; \\ QAB \\ E] "); For (string test: array) system.out.println (test); I hope:
a b12 although I'm getting:
Edit: I cleaned the code, sorry.
The whole idea code is divided by 4, semicolon, AB, comma, and one is to treat one as a constant delimiter. / P>
EDIT: Sorry about all confusions, I know that this question was not clear as it could have been.
Thanks
OK, I've finally worked what you think \ Q ... \ E doing this I think that you want ([4 \, |] | ab) + (plus any necessary escape If you are writing it as a string) er, except that I do not understand why you have bothered to avoid commas.
Comments
Post a Comment