RoboTask User's Guide
Keyword Index
Home page



IconQuick Start Guide
IconSeveral practical recommendations
IconMenus
IconActions
IconTriggering Events
IconAppendix
IconOther software

© 2004-2017 Neowise.com

STR Pos

Top  Previous  Next

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

TXT Number of Lines

TXT Extract Line

TXT Comma-Text Conversion