f$IsStringIn (f$IstTextIn)
f$IsStringIn (f$IstTextIn)
This function checks if a string is contained in another string.
The function is case-sensitive. If you would like to perform a search irrespective of case, then you first have to convert the text using f$Upper or f$Lower.
Syntax: | CompResult = f$IsStringIn( SearchText, Text ) | ||
| Argument | Type | Meaning |
| SearchText | String | Text to search for |
| Text | String | Text to be searched through |
Result: | Logical | 1 if the SearchText is contained within Text, otherwise 0 | |
Example: | CompRes = f$IsStringIn( '345', 'KR345ST' ) → CompRes = 1 | ||