Versions Compared

Key

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

 Enhancement of comparison functions

...


Code Block
languagecpp
themeConfluence
FUNCTION xpfLike (aString  : STRING;
                  pattern  : STRING;
         option          options  : INTEGER)
         matching         matching : BOOLEAN;
               The xpxLike function implements an extended version of the LIKE operation in the Express language as defined in section  

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

...

Insert excerpt
US:_a_String
US:_a_String
nopaneltrue
Insert excerpt
US:_a_pattern
US:_a_pattern
nopaneltrue
Insert excerpt
US:_a_options_XPX
US:_a_options_XPX
nopaneltrue

Return Value

...

 

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_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 (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "like" and parent = "5636522"