joining strings in java

Joining a list of string by a delimiter has been greatly simplified in Java 8. The introduction of the "join" method to the "String" class makes this possible.

string join



Another way you could join strings in java, is by using the Collectors joining method

joining strings java


Add new comment