FINDSTR - Find a sub-string (Reports & Settings Report Generator function)
From Catalyst
Revision as of 11:39, 22 September 2016 by Les Ward (talk | contribs) (Les Ward moved page FINDSTR - Find a sub-string (Reports & Parameters Report Generator function) to FINDSTR - Find a sub-string (Reports & Settings Report Generator function))
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.