(List[,delimiter])
Parameter description
List Required. A one-dimensional array that contains the substrings to be joined
Required option. Contains a one-dimensional array of substrings to join.
Delimiter Optional. The character (s) used to separate the substrings in the returned string. Default is the space character
Options available. The character used to delimit substrings in the return string. If omitted, the null character ("") is used. If delimiter is a 0-length string, all items are listed in the same list without a delimiter.
Instance 1
Code to copy the code as follows
Dim A (5), b
A (0) = "Saturday"
A (1) = "Sunday"
A (2) = "Monday"
A (3) = "Tuesday"
A (4) = "Wednesday"
B=filter (A, "n")
document.write (Join (b))
Output: Sunday Monday Wednesday
example, test efficiency
Code to copy the code as follows
Speed can be spelled with PHP (though still not as fast as he does),
Another way to use it is
Code to copy the code as follows
S=join (Array ("1", "2", "3",....., "9999"))
The speed is still much faster than "1" & "2" & "3" & .....& "9999"