A method to reverse effect of java String.split()? [duplicate]

There’s no method in the JDK for this that I’m aware of. Apache Commons Lang has various overloaded join() methods in the StringUtils class that do what you want.

Leave a Comment