Insert Text
From UBot Studio
(Difference between revisions)
(Created page with "$Insert Text is a Text Function. The function returns the original text with another piece of text inserted at a specified position. '''Original Text:''' ...") |
|||
Line 4: | Line 4: | ||
'''Original Text:''' The original string that will be altered. | '''Original Text:''' The original string that will be altered. | ||
+ | |||
'''Text to Insert:''' Where the item you are trying to insert will go. | '''Text to Insert:''' Where the item you are trying to insert will go. | ||
+ | |||
'''Position:''' Where exactly you want the item inserted. | '''Position:''' Where exactly you want the item inserted. | ||
Revision as of 19:42, 1 May 2013
$Insert Text is a Text Function.
The function returns the original text with another piece of text inserted at a specified position.
Original Text: The original string that will be altered.
Text to Insert: Where the item you are trying to insert will go.
Position: Where exactly you want the item inserted.
Example
navigate("http://www.ubotstudio.com/playground/simple-form", "Wait") type text(<username field>, $insert text("Andrew Williams", "James ", 7), "Standard")
Running the script inserts the Text to Insert into position 7 of the Original Text "Andrew Williams"