Strings.Join Method (String, String)
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)
public static string Join ( string SourceArray, [OptionalAttribute] string Delimiter )
public static String Join ( String SourceArray, /** @attribute OptionalAttribute() */ String Delimiter )
Required. One-dimensional array containing substrings to be joined.
Optional. Any string, used to separate the substrings in the returned string. If omitted, the space character (" ") is used. If Delimiter is a zero-length string ("") or Nothing, all items in the list are concatenated with no delimiters.
Return ValueReturns a string created by joining a number of substrings contained in an array.
For more detailed information, see the Visual Basic topic Join Function (Visual Basic).
There is a parity between the Join and Split functions. The Join function takes an array of strings and joins them using a delimiter string, to return a single string. The Split function takes a string and separates it at the delimiter, to return an array of strings. However, a key difference is that Join can concatenate strings with any delimiter string, Split can only separate strings using a single character delimiter.
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.