listAdd

Synopsis

string listAdd(string stringList, string item)

Returns

Append item to stringList.

This 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

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

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

Copyright ©2008-2016 Esri R&D Center Zurich. All rights reserved.