Remove Text from list

From UBot Studio
Jump to: navigation, search

This command is an Advanced List command. This command will remove specified text from a list.

List: The list containing the item that is being removed.

Text to remove: The text being removed from the list.

The text to remove is found by searching list items. In this example, the list item "purple" is found and removed.

However, if the list item "purple" had been "purple house", it would not be removed from the list.

The list item "purple" is different from the list item "purple house".

Example


clear list(%my list)
add list to list(%my list,$list from text("blue,white,green,yellow,purple",","),"Delete","Global")
remove text from list(%my list,"purple","First")

}


Running the command will remove the list item "purple" from the specified list.


Rtfl.jpg


Here is the list before the script is run.


Rtfl0.jpg


Here is the list after the script is run.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox