|     |   | 
| Line 1: | Line 1: | 
|  | [[Category:String_Functions]]
 |  | 
|  | {{HelpFiles}}
 |  | 
|  | 
 |  | 
 | 
|  | ====stringjoin====
 |  | 
|  | 
 |  | 
|  | The function joins the elements of an array into a string, and returns the string.
 |  | 
|  | 
 |  | 
|  | The elements will be separated by a specified separator. The default separator is comma (,).
 |  | 
|  | 
 |  | 
|  | ===Syntax===
 |  | 
|  | 
 |  | 
|  | stringjoin(separator,arrayresource);
 |  | 
|  | 
 |  | 
|  | ===Arguments===
 |  | 
|  | 
 |  | 
|  | separator: Is a string expression. The separator to be used.
 |  | 
|  | arrayresource: Is an array expression. 
 |  | 
|  | 
 |  | 
|  | ===Return type===
 |  | 
|  | 
 |  | 
|  | A String, representing the array values, separated by the specified separator
 |  | 
|  | 
 |  | 
|  | ===Examples===
 |  | 
|  | <source lang="javascript">
 |  | 
|  | string stringResult = stringjoin("-",{"A","B","C"});
 |  | 
|  | print(stringResult);
 |  | 
|  | //Result: A-B-C
 |  | 
|  | 
 |  | 
|  | </source>
 |  |