Append Line to Text

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
(Created page with "$Append Line to Text is a Text Function. The function returns the original text with a new line of text appended at the end of the original string. == Exa...")
 
 
(2 intermediate revisions by one user not shown)
Line 2: Line 2:
  
 
The function returns the original text with a new line of text appended at the end of the original string.
 
The function returns the original text with a new line of text appended at the end of the original string.
 +
 +
'''Original Text:''' The text being appended to.  Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]].
 +
 +
'''Text To Append:''' The Text that will be appended to the original text.  Accepts variables and functions such as [[$next list item]], [[$list item]], [[$random list item]], [[$previous list item]], and [[$table cell]].
  
 
== Example ==
 
== Example ==
Line 9: Line 13:
 
type text(<username field>, $append line to text("ABCD", "EFGH"), "Standard")
 
type text(<username field>, $append line to text("ABCD", "EFGH"), "Standard")
 
</pre>
 
</pre>
 +
  
 
Running the script appends the string "EFGH" to the original string "ABCD".
 
Running the script appends the string "EFGH" to the original string "ABCD".
  
[[File:append.png]]
+
 
 +
[[File:appnd0.jpg]]

Latest revision as of 22:22, 28 December 2016

$Append Line to Text is a Text Function.

The function returns the original text with a new line of text appended at the end of the original string.

Original Text: The text being appended to. Accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell.

Text To Append: The Text that will be appended to the original text. Accepts variables and functions such as $next list item, $list item, $random list item, $previous list item, and $table cell.

[edit] Example

navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
type text(<username field>, $append line to text("ABCD", "EFGH"), "Standard")


Running the script appends the string "EFGH" to the original string "ABCD".


Appnd0.jpg

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox