Nothing
From UBot Studio
(Difference between revisions)
(Created page with "$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 use...") |
|||
(One intermediate revision by one user not shown) | |||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
+ | |||
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. | 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. | ||
− | [[File: | + | |
+ | [[File:nothfunc.jpg]] |
Latest revision as of 17:06, 28 December 2016
$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.
[edit] 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.