Navigator 3.0
array.join() array.join(separator)
An optional character or string used to separate one element of the array from the next in the returned string. If this argument is omitted, the empty string is used.
The string that results from converting each element of array to a string, and then concatenating them together, with the separator string between elements.
join() converts each of the elements of an array to a string, and then concatenates those strings, inserting the specified separator string between the elements. It returns the resulting string.
You can perform the opposite direction--split a string up into array elements--with the split() method of the String object.
This HTML Help has been published using the chm2web software. |