Nothing

From UBot Studio
Jump to: navigation, search

$Nothing is a Text Function.

The function returns an empty value. This is a great function for removing unwanted words or symbols from a list item when used in conjunction with the $replace function.

Example


navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
wait(3)
type text(<about me textarea>, $replace("I really love UBot Studio", "really", $nothing), "Standard")


Running the script replaces the word "really" in the sentence "I really love UBot Studio" with the nothing function, which simply inserts a blank space where the word used to be in the sentence.


Nothfunc.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox