Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

matchText(input, regex)

Package


Alias


Pkg Usage


Description

Excerpt
hiddentrue

Returns the text matched or empty string if it doesn't match.

Returns the text matched or empty string if it doesn't match.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

input

String

Yes

Specifies a character expression to match the regex against.

regex

String

Yes

Specifies a regular expression to match the specified string.

Return Type

String

Example

Code Block
languagejs
wret = matchText("This will return ?", ".*will");
print("Return " + wret);

...

Note

For more information on regular expressions, see Oracle documentation.


See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "string_routine" and space = currentSpace ( )
labelsarray_routines