String[] tab1 = new String[] { "a", "b", "", "d" };
String[] tab2 = StringUtils.split(StringUtils.join(tab1, ';'), ';');
here tab2 = { "a", "b", "d" }, the 3rd element of tab1 is lost.
That may be nice to have a flag on the split methods indicating if the separators must be merged, or a new set of methods (slice()?) with the same signatures and handling empty elements.
Emmanuel Bourg
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]