Find
Returns the starting position of the first instance of a specific text value within a field value.
Syntax
Find(str, strToFind)
Enabled for
Search/Dashboard | No |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameters
str | Text value for which to search. |
strToFind | Location for the search. |
Return Value
Number value.
- Returns -1 if the text is not found.
- If the text is found, returns the starting position (zero-based index) of the first argument (str) in the second argument (strToFind).
Example
$(Find("han", Owner))
If the Owner field contains the text "Tom Hanson", this example returns 4.