string stringJoin(string inSeperator, string[] inArray)
Description
Concatenates several strings in inArray into one string, joined be inSeperator.
Parameters
The following is a list of parameters the functions receivesÂ
Parameter | Type | Description |
---|---|---|
inSeperator | string | a string to add between each two joined strings from inArray |
inArray | string[] | string array holding strings to join into one string |
Return Type
string
Example
For the string array called str, containing these next strings: "H", "ve ", " nice d", "y" -
stringJoin("a", str) will return the string: "Have a nice day".
Comments
Please sign in to leave a comment.