Java equivalents of C# String.Format() and String.Join()

The Java String object has a format method (as of 1.5), but no join method.

To get a bunch of useful String utility methods not already included you could use org.apache.commons.lang.StringUtils.

Leave a Comment