File tree Expand file tree Collapse file tree
api/src/org/labkey/api/util Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2673,10 +2673,15 @@ else if (peek(pos, charArray) == '"')
26732673
26742674 // Google Sheets compatible version of joinValuesToString()
26752675 public static String joinValuesToStringForExport (@ NotNull List <String > values )
2676+ {
2677+ return joinValuesToStringForExport (values , ", " );
2678+ }
2679+
2680+ public static String joinValuesToStringForExport (@ NotNull List <String > values , String delimiter )
26762681 {
26772682 return values .stream ()
26782683 .map (value -> null ==value ? "" : shouldEscapeForExport (value ) ? "\" " + Strings .CS .replace (value ,"\" " , "\" \" " ) + "\" " : value )
2679- .collect (Collectors .joining (", " ));
2684+ .collect (Collectors .joining (delimiter ));
26802685 }
26812686
26822687 private static boolean shouldEscapeForExport (@ NotNull String value )
You can’t perform that action at this time.
0 commit comments