ChartDirector 7.0 (Java Edition)

Chart.stringJoin


Usage

public static String stringJoin({String[] | Collection | Iterator} a, String delimiter)

Description

Concatenates all elements of a string array or collection using the specified delimiter.

Arguments

ArgumentDefaultDescription
a(Mandatory)The string array, collection or an iterator for a container that contains the strings to be concatenated.
delimiter(Mandatory)The delimiter that separates the strings to be concatenated.

Return Value

A string formed by concatenating all input strings with the specified delimiter.