Array.join() Method---concatenate the elements of an array
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.
file: /Techref/language/java/script/definitive/refp_10.htm, 5KB, , updated: 2019/10/14 15:00, local time: 2024/11/30 01:03,
18.226.214.91:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/Techref/language/java/script/definitive/refp_10.htm"> [Chapter 21] Reference: Array.join()</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.