Language Reference |
See Also Applies To
Converts all elements of an array into a String object and joins them.
The separator argument is a String object that is used to separate one element of an array from the next in the resulting String object. If omitted, the array elements are separated with an empty string.
The join method returns a String object that contains each element converted to a string and concatenated together. An example using the join method follows:var my_array = new Array("Jan 5", 1996, "hey", "my birthday!"); var my_string = my_array.join(", ");
After execution, my_string contains "Jan 5, 1996, hey, my birthday!"
© 1997 by Microsoft Corporation. All rights reserved.
|file: /Techref/inet/iis/jscript/htm/js15.htm, 2KB, , updated: 1997/9/30 03:44, local time: 2018/11/18 23:57,
|©2018 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://www.sxlist.com/techref/inet/iis/jscript/htm/js15.htm"> join Method</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!