Compatible Unicode Intrinsic Functions - Contains Method

Test to see is a string is contained in the variable

Member of Compatible Unicode Intrinsic Functions (PRIM_LIBI.ICompatibleUnicodeIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

True if the string is found

String

*Input

Unicode String

String to be searched for

StartPosition

*Input (Optional)

Integer

Position 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