String Intrinsic Functions - Contains Method

Test to see is a string is contained in the variable

Member of String Intrinsic Functions (PRIM_LIBI.ICommonStringIntrinsics)


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


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


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