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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.Binding

Library

Base.js

See also

List

 

 

Show:
© 2014 Microsoft