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 16:00, local time: 2024/8/23 17:17,
18.219.220.180: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://piclist.com/tecHREF/language/java/SCRIPT/definitive/refp_10.htm"> [Chapter 21] Reference: Array.join()</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.