STR Pos

<< Click to Display Table of Contents >>

Navigation:  Actions > Strings >

STR Pos

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.

 

STRPos

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.

 

note Related Topics

STR Replace

STR Trim

STR Delete

STR Insert

STR Extract

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