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
Name |
Type |
Data Type |
Description |
Result |
*Result (Optional) |
Boolean |
True if the string is found |
String |
*Input |
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)