Ha ryon wrote:

- I would like to be able to split a string using a String (more than
one character long) separator.
split(, "::") ->[ "John;Arthur",
"Renaud:Sylvan", "me:you" ]


I think this is available in all 1.4+ JREs:

"John:Arthur::Renaud:Sylvan::me:you".split("::");

see

http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html#split(java.lang.String)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to