StrPosition
Description
StrPosition returns the position of a substring in text.
Syntax
Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
text |
Yes | String, field, or expression | Text to search. |
substring |
Yes | String | Substring to find. |
Notes
Use this function in calculated fields, metric expressions, or query expressions where the function category is supported.
Example
The expression returns the calculated result according to the current query context.