xpfLike

FUNCTION xpfLike (aString  : STRING;
                  pattern  : STRING;
                  options  : INTEGER)
                  matching : BOOLEAN;
                

This function is equivalent to the EDMinterface function edmiLike. The xpxLike function implements an extended version of the LIKE operation in the Express language as defined in section 12.2.5 in ISO 10303-11:1994(E) : The EXPRESS Language Reference Manual. The extension is that optionally the operation can do case insensitive comparison, by specifying the constant XPXCASE_INSENSITIVE in the option parameter. Default operation is case sensitive matching, i.e., option = 0, constant XPXCASE_INSENSITIVE not set or constant XPXCASE_SENSITIVE set in option argument.

Arguments


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_String'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_pattern'.
Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_a_options_XPX'.

Return Value


 

Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_matching'.

Options



 

1NameComment
2

xpxCASE_INSENSITIVE

Case insensitive comparison
3

xpxCASE_SENSITIVE

Case sensitive comparison
4xpxIGNORE_ALL_PATTERN_MATCHING_CHARS_EXCEPT_STAROnly the star “*” will be a pattern matching character, all other characters will be normal (not pattern matching) characters.
5xpxIGNORE_ALL_PATTERN_MATCHING_CHARSAll defined pattern matching characters will be treated as ordinary (not pattern matching) characters
6xpxLIKE_EQUAL

Only string comparison without any pattern matching functionality. Can only be combined with xpxCASE_SENSITIVE and xpxCASE_INSENSITIVE options.

xpxCASE_SENSITIVE is default. This option is implemented for performance reasons.

7xpxLIKE_UNEQUAL

Only string comparison without any pattern matching functionality. Can only be combined with xpxCASE_SENSITIVE and xpxCASE_INSENSITIVE options.

xpxCASE_SENSITIVE is default. This option is implemented for performance reasons.

Example


<example missing>

 

See also

Filter by label

There are no items with the selected labels at this time.