Contains

STD.Str.Contains( source, pattern, nocase )

STD.Uni.Contains( source, pattern, nocase )

sourceA string containing the data to search.
patternA string containing the characters to compare. An empty string ( '' ) always returns true.
nocaseA boolean true or false indicating whether to ignore the case.
Return: Contains returns a BOOLEAN value.

The Contains functions return true if all the characters in the pattern appear in the source, otherwise they return false.

Example:

A := STD.Str.Contains(
  'the quick brown fox jumps over the lazy dog',
  'ABCdefghijklmnopqrstuvwxyz', true); //returns TRUE 

B:= STD.Str.Contains(
 'the speedy ochre vixen leapt over the indolent retriever',
 'abcdefghijklmnopqrstuvwxyz', false); //returns FALSE -- 'z' is missing

See Also: Find