Unicode Intrinsic Functions - Contains Method

Test to see is a string is contained in the variable

Member of Unicode Intrinsic Functions (PRIM_LIBI.IUnicodeIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if the string is found
String*InputUnicode StringString to be searched for
StartPosition*Input (Optional)IntegerPosition at which to start searching

Details

Contains returns a true if the string contains the specified search value.
 
Contains is case sensitive.

Example

In this example, if #Fullname contained "Veronica Brown" and #Search contained "Br", the result would be True.
#Result := #Fullname.Contains(#Search)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2