join method

List.join method

Applies to Windows and Windows Phone

Returns a string consisting of all the elements of a list separated by the specified separator string.

Syntax


var string = list.join(separator);

Parameters

separator

Type: String

A string used to separate the elements of a list. If this parameter is omitted, the list elements are separated with a comma.

Return value

Type: String

The elements of a list separated by the specified separator string.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

List

 

 

Show:
© 2017 Microsoft