listAdd function

Syntax

  • string listAdd(stringList, item)

Parameters

  1. stringListstring
  2. itemstring

Returns

Append item to stringList.

Description

The listAdd function appends the item to the stringList.

Note:

Stringlists 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

listAdd("rule;your;","city")
# result = "rule;your;city;"
listAdd("rule;your;","city;")
# result = "rule;your;city;"

In this topic