System Namespace String Class
Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string.
[ VB ]
<Serializable>
Overloads Public Shared Function Join ( _
ByVal separator As String, _
ByVal value ( ) As String _
) As String
[ C# ]
[ Serializable ]
public static string Join (
string separator,
string [ ] value
);
[ C++ ]
[ Serializable ]
public: static String* Join (
String* separator,
String* value __gc [ ]
);
[ JScript ]
public Serializable
static function Join (
separator : String,
value : String[ ]
) : String;
- separator
- A String.
- value
- An array of String s.
A String consisting of the elements of value interspersed with the separator string.
For example if separator is ", " and the elements of value are "apple", "orange", "grape", and "pear", Join ( separator, value )
returns "apple, orange, grape, pear".
String Members String.Join Overload List Concat Insert Remove Replace Split Substring Trim