public static String join ( SoyList list , String separator ) { List < String > stringList = new ArrayList <> ( ) ; for ( SoyValue value : list . asResolvedJavaList ( ) ) { stringList . add ( value . coerceToString ( ) ) ; } return Joiner . on ( separator ) . join ( stringList ) ; }
Joins the list elements by a separator .