String Intrinsic Functions - Contains Method

Test to see is a string is contained in the variable

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if the string is found
String*InputStringString 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