Difference between revisions of "Stringjoin"

From Catglobe Wiki
Jump to: navigation, search
 
Line 4: Line 4:
 
==== stringjoin ====
 
==== stringjoin ====
  
To check that it is a dictionary or is not
+
Join list of strings in an array of strings with the specified separator
  
 
'''Syntax'''
 
'''Syntax'''

Latest revision as of 05:18, 27 July 2018



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