This project is read-only.

toString([separator])

Combine elements from a sequence into a string using the specified delimiter.

Syntax

Parameters

separator
Type: string
A separator to insert between each elements.
Return Value

A combined string.

Examples

var data = ["a", "b", "c", "d"];
var s = $from(data).toString("; ");

document.writeln(s);

/*
This code produces the following output:

a; b; c; d
*/

Last edited May 18, 2012 at 11:44 AM by suckgamoni, version 1

Comments

No comments yet.