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;
The string that consists of the strings that are connected by the separator.
Exception Type | Condition |
---|---|
ArgumentNullException | If value is a null reference (in Visual Basic Nothing). |
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.
String Class | String Members | System Namespace | String.Join Overload List