join()

Glues the values of an array together to form a string.

This function is valid in v2.0.0 to v2.13.3. This function has been downloaded 41 times.

Parameters

{Array} arr
The array containing the values to be glued together.
{string=} opt_delimiter Optional, Default:","
The string to delimit each value in arr.
{string=} opt_beforeEach Optional, Default:""
The string to prepend to each value in arr.
{string=} opt_afterEach Optional, Default:""
The string to append to each value in arr.

Returns

{string}
A string representation of arr with all of the values prefixed by opt_beforeEach, suffixed by opt_afterEach and separated by opt_delimiter.