LOCATE
![]() |
Searches a string for a character of block of text. |
Supported Script Types
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Generic | Chat | Phone | Voicemail | Work Item |
Properties
- String
-
This property lists the String to search. Use of variable substitution is common.
Do not use quotes " ".
- StringtoFind
- This property lists the String to look for. Use of variable substitution is common.
- Variable
- This property is the name of the variable that will receive the character position of the located text. If the text is not found, this variable receives the value, 0.
- CaseSensitive
- The value for this property is either True or False. True requires the String to Find text exactly as it is contained in String, including the same character case.
Branches
- Default
- The Default branch condition will be used unless another branch condition is triggered.
- OnFound
- If the String to Find is found within String, this branch condition is triggered.
Tips and 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.