Stringjoin

From Catglobe Wiki
Jump to: navigation, search



stringjoin

Join list of strings in an array of strings with the specified separator

Syntax

stringjoin(string separator, array stringsToJoin)

Arguments

separator: is string stringsToJoin: is an array

Return type

string Example

print(stringjoin(" <=> ",{1,2,"bbbbb",4,5}));

// result: 1<=>2<=>bbbbb<=>4<=>5


Availability

Version 5.8