Join
Revision as of 17:46, 16 March 2020 by 71.226.33.30 (talk) (Created page with "<c>self.join</c> joins the elements of a list together to form a string. See also: split === Arguments === {| class="wikitable" |- ! Parameter Name !! Default Value !!...")
self.join
joins the elements of a list together to form a string.
See also: split
Arguments
Parameter Name | Default Value | Meaning |
---|---|---|
self | list | list to join |
delimiter | string, default "" | string to insert between each pair of elements. |
Example
[2,4,8].join("-") // returns "2-4-8"