
sql:glob( $input as xs:string?, $pattern as xs:string ) as xs:boolean?
Returns true if the specified $input glob the specified
$pattern, otherwise returns false.
| Parameters | |
|---|---|
| input | The input from which to match. |
| pattern | The expression to match. '?' matches one character and '*' matches any number of characters. |
sql:glob("this string", "id*")
=> false
sql:glob("this", "t*i?")
=> true
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.