problem splitting strings
hello all,
i have a string of the format similar to this:
anycharactergoeshere;;;;;
and i'm trying to split the string on semicolons with:
foo.split("(;)");
and i have tried numerous other regular expressions with numerous quantifiers but none will seem to split on just the first semicolon, instead it takes them all of them at once.....
ideally i would like to split them and the following in a String array after splitting
someArray[0] == "anycharactergoeshere;"
someArray[1] == ";;;;;"
where the number of semicolons is arbitrary. any help is appreciated.

