String.Join Method

Include Protected Members
Include Inherited Members

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Concatenates the elements of a specified array or the members of a collection, using the specified separator between each element or member.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Join(String, IEnumerable<(Of <(String>)>)) Concatenates the members of a constructed IEnumerable<(Of <(T>)>) collection of type String, using the specified separator between each member.
Join<(Of <(T>)>)(String, IEnumerable<(Of <(T>)>)) Concatenates the members of a string collection, using the specified separator between each member.
Join(String, array<Object>[]()[]) Concatenates the elements of an object array, using the specified separator between each element.
Join(String, array<String>[]()[]) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string.
Join(String, array<String>[]()[], Int32, Int32) Concatenates a specified separator String between each element of a specified String array, yielding a single concatenated string. Parameters specify the first array element and number of elements to use.

Top

See Also

Reference

String Class

String Members

System Namespace

Split