listFromArray function

Syntax

  • string listFromArray(array)

Parameters

  1. array—(float[], bool[], string[])

Returns

Returns the array as string list.

Note:
String lists are a series of strings stored inside one string. The elements are separated by a semicolon (";"). Each item must be followed by a semicolon, also the last one. The data type is "string", thus it is not an array as used in other scripting languages.

Related

Examples

listFromArray([1,2,3])
# result = "1;2;3;"
listFromArray([true,false,true])
# result = "true;false;true;"
listFromArray(["rule","your","city"])
# result = "rule;your;city;"

In this topic