The action determines the position of the found substring in the source string. If the substring is found, the result will be positive. Otherwise, the result is 0.

Source String
The source string to find the substring in. It is possible to use variables.
Substring to Search
The substring to search for. It is possible to use variables.
From Position
The position to start searching from. Position 1 corresponds to the beginning of the string. It is possible to use variables.
Assign Result to Variable
The name of the variable the result of the action will be assigned to. The result is an integer. If the substring is found, the value is greater than 0. Otherwise, it is 0. 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.
Related Topics
STR Replace
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
|