Difference between revisions of "FINDSTR - Find a sub-string (Reports & Settings Report Generator function)"
From Catalyst
(Updated from revision control) |
|||
Line 21: | Line 21: | ||
Position of substr in string. A {{DataValue|0}} will indicate substr was not found. | Position of substr in string. A {{DataValue|0}} will indicate substr was not found. | ||
− | [[Category:Reports & | + | [[Category:Reports & Settings Report Generator functions]] |
Latest revision as of 13:03, 22 September 2016
Syntax
$FINDSTR{string, substr, count}
Description
Will find the position of substr in string.
Parameters
- string
- A text parameter that can not be omitted.
- Input Text.
- substr
- A text parameter that can not be omitted.
- Subtext to search for.
- count
- A numeric parameter that can be omitted (it defaults to "1").
- Number of subtext to find. If negative the search will start from the end of the text.
Returns
A numeric value. Position of substr in string. A '0' will indicate substr was not found.