There are lots of questions about how to join a String[]
in Java 8 with a delimiter, but how should a String[]
be joined without a delimiter?
For example, {"a", "b", "c"}
becomes "abc"
.
Note: I know how to write a small function for this myself, so please do not leave custom solutions. I am looking for a one-liner from the standard library.