delitem

Syntax: %delitem(s,list)

delete item s from the given string list. If there are duplicate items, only the first is removed

Examples:

#VAR ToDo {kill orc|kill goblin|kill orc}
#VAR ToDo %delItem("kill orc",@ToDo)
#SHOW @ToDo

displays:

kill goblin|kill orc


Contents delete delkey