NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

String.Join (String, String[])

Joins an array of strings together as one string with a separator between each original string.

[Visual Basic]
Overloads Public Shared Function Join( _
   ByVal separator As String, _
   ByVal value() As String _
) As String
[C#]
public static string Join(
   string separator,
   string[] value
);
[C++]
public: static String* Join(
   String* separator,
   String* value[]
);
[JScript]
public static function Join(
   separator : String,
   value : String[]
) : String;

Parameters

separator
The string used as a separator.
value
The array of strings to be joined.

Return Value

The string that consists of the strings that are connected by the separator.

Exceptions

Exception Type Condition
ArgumentNullException If value is a null reference (in Visual Basic Nothing).

Remarks

The Join method forms an array by connecting an array of strings (value) and a separator (separator) between each string. The separator is a string.

See Also

String Class | String Members | System Namespace | String.Join Overload List