Locate

Searches a string for a character of block of text.

Supported Script Types

Properties

Property Details
String The string you want to insert, search, or parse. This property supports variable substitution. If this value is a variable, rather than the literal string value, use curly brackets {}.
StringtoFind The string to look for. Use of variable substitution is common.
Variable The name of the variable that you want to hold the variable value.
CaseSensitive The value for this property is either true or false. True requires the StringtoFind text exactly as it is contained in String, including the same character case.

Branches

Branch Details

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the other branches are not defined.

OnFound

Path taken if the String to Find is located.

Tips & Tricks

  • If the string being searched for is found, the branch condition, Found, will be triggered, however, the variable will also receive a value greater than zero. This provides two possible methods for detecting the text.