Append Line to Text
From UBot Studio
(Difference between revisions)
Line 13: | 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:append.png]] |
Revision as of 19:54, 21 May 2013
$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.
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".