- string listRemove(stringList, searchString)
Removes first occurrence of searchString from stringList.
The listRemove function removes the first occurrence of searchString from the stringList. Optional: leading or trailing * in searchString are used as wildcard.
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.
example.1 listRemove("rule;your;city;","your") # result = "rule;city;" example.2 listRemove("rule;your;city;","*u*") # result = "your;city;" example.3 listRemove("floor_1;floor_2;floor_3;", "*_2") # result = "floor_1;floor_3;"