STR Replace

<< Click to Display Table of Contents >>

Navigation:  Actions > Strings >

STR Replace

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.

 

STRReplace

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.

 

Replacement

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

 

Variable

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 Pos

STR Between

STR Length

STR format CSV line

TXT Number of Lines

TXT Extract Line

TXT Delete line

TXT Insert line

TXT Comma-Text Conversion

TXT UTF-8 Conversion

Operations on lists