RoboTask User's Guide
Keyword Index
Home page

IconQuick Start Guide
IconSeveral practical recommendations
IconTriggering Events
IconOther software

© 2004-2020 TaskAutomation.Software

STR Replace

Top  Previous  Next

This action finds and replaces the specified string with the one you need. There are three replacement modes:

All Entries;
First entry;
Last Entry.

The result is assigned to a user variable.



Source String

The source string to search and replace in. It is possible to use variables.


Find Substring

The substring that should be found and replaced. It is possible to use variables.



The substring to replace the found substring with. It is possible to use variables.


Replace mode

Replacement mode. 3 options are possible:

All Entries – all found substrings will be replaced;
First Entry – only the first found substring will be replaced;
Last Entry – only the last found substring will be replaced;


Assign Result to Variable

The name of the variable the result of the action will be assigned to. It is impossible to use macros with variables



Allows you to add a variable to the action or triggering event that you selected. You must place the cursor in a edit box in the settings dialog window of the action or event and then click the {V} button.


note Related Topics

STR Trim

STR Delete

STR Insert

STR Extract


STR Between

STR Length

TXT Number of Lines

TXT Extract Line

TXT Comma-Text Conversion

TXT UTF-8 Conversion