StringUtils ConcatString Method C# API
Concatenates a string array into a single string, using the token parameter as a separator.

Namespace: Facilita.Util
Assembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
Syntax

public static string ConcatString(
	string[] p,
	string token
)

Parameters

p
Type:  System String 
The array of strings to concatenate.
token
Type: System String
The delimiter to place between the strings.

Return Value

The concatenated string.
Examples

The following example demonstrates concatenating the values in the string array into a single string, which looks like this: "item1, item2, item3".
string value = StringUtils.ConcatString(new string[] { "item1", "item2", "item3" }, ", ");
WriteMessage(value);
See Also