Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Stringjoin: Difference between revisions

From Catglobe Wiki
Hovietluu (talk | contribs)
Created page with "Category:String_Functions {{HelpFiles}} ==== stringjoin ==== To check that it is a dictionary or is not '''Syntax''' stringjoin(string separator, array stringsT..."
 
Tungocman (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
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'''
Line 14: Line 14:
separator: is string
separator: is string
stringsToJoin: is an array
stringsToJoin: is an array
'''Return type'''
'''Return type'''
string
string
'''Example'''
'''Example'''
<source lang="javascript">
<source lang="javascript">
print(stringjoin(" <=> ",{1,2,"bbbbb",4,5}));
print(stringjoin(" <=> ",{1,2,"bbbbb",4,5}));

Latest revision as of 04: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