arr.join()

arr.join(list_of_strings, delimiter) returns a single string value that is the concatenation of the strings in list_of_strings, using delimiter as a delimiter.

Returns

  • if list_of_strings is a list of strings and delimiter is a string, then we concatenate each string in list_of_strings together using delimiter as a delimiter.

  • otherwise, returns null .

Last updated

Was this helpful?