Nothing

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(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...")
 
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:nothing.png]]
 
[[File:nothing.png]]

Revision as of 19:49, 21 May 2013

$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.


File:Nothing.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox