Documentation

#DELITEM

DELITEM

Syntax: #DELI listname item
Related: #ADDITEM

Deletes the specified item from the stringlist. If item exists in the stringlist more than once, then all occurrences of item in the list are deleted. To only delete the first item when working with duplicates, use the %delitem function.

Do not put the @ character before the variable name.

DELITEM Example

#DELITEM Friends Zugg
Removes "Zugg" from the stringlist variable @Friends

Add comment

Login or register to post comments