Like Scala's List.mkString method, but supports truncation.
Like Scala's List.mkString method, but supports truncation.
Return the concatenation of an iterator over strings, separated by separator, truncated to at most maxLength characters. If truncation occurs, the string is terminated with ellipses.