10 6 18 Contains

LANSA Technical

10.6.18 Contains

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

Input Parameters

String - String to be located in the subject of the intrinsic

Startposition - Character position at which to start looking for the string

Example

#Button.Enabled := #String.Contains( #Search )

 

To avoid case sensitivity issues, use the Uppercase or Lowercase intrinsic functions to ensure matching cases for both strings:

#Button.Enabled := #String.Uppercase.Contains( #Search.Uppercase )

 

Ý 10.6 Alphanumeric/String Intrinsic Functions