FindWord

STD.Str.FindWord( src, word, ignore_case )

STD.Uni.FindWord( src, word, ignore_case )

srcA string containing the data to search.
word A string containing the substring to search for.
ignore_case A boolean true or false to indicate whether to ignore the case.
Return: FindWord returns a BOOLEAN value.

The FindWord functions return TRUE if the word string is found in src string.

Example:

IMPORT STD;
src := 'Now is the winter of our discontent';
word := 'now';

STD.Str.FindWord(src,word);      // false - case not ignored
STD.Str.FindWord(src,word,TRUE); // true  - with case ignored word is found