Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
languagecpp
themeConfluence
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.

...

 

Insert excerpt
US:_r_matching
US:_r_matching
nopaneltrue

Options

...

...


 

1NameComment
2

xpxCASE_INSENSITIVE

...

...

Case insensitive comparison

...

3

xpxCASE_SENSITIVE

...

Case sensitive comparison
4xpxIGNORE_ALL_PATTERN_MATCHING_CHARS_EXCEPT_STAR

...

Only the star “*” will be a pattern matching character, all other characters will be normal (not pattern matching) characters.
5xpxIGNORE_ALL_PATTERN_MATCHING_CHARS

...

All 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>

 

...