join

Static join 

Source
pub static join: JoinInternalType
Expand description

Combines an array of Strings into one String, each separated by the character(s) used for the separator parameter. To join arrays of ints or floats, it's necessary to first convert them to Strings using nf() or nfs().

Examples

let array = ['Hello', 'world!'];
let separator = ' ';
let message = join(array, separator);
text(message, 5, 50);

Parameters

list array of Strings to be joined

separator String to be placed between each item