arr.join()
arr.join(delimiter, list_of_strings)
returns a single string value that is the concatenation of the strings in list_of_strings
, using delimiter
as a delimiter.
Returns
if
delimiter
is a string andlist_of_strings
is a list of strings, then we concatenate each string inlist_of_strings
together usingdelimiter
as a delimiter.otherwise, returns
null
.
Last updated
Was this helpful?