Expression, operand
contains
judges if a given string <text>
contains a sub string <subtext>
Syntax:
- Expression:
<text>
contains<subtext>
- Operand: see list below
Name | Type | Specification | Description |
---|---|---|---|
text | ATTR(string) | / | The string to be judged |
subtext | ATTR(string) | / | The sub-string |
Constant
Example: judge if "ab23D@d"134" contains "b23"
return "ab23D@d\"134" contains "b23"
Analysis: only when a backslash \
is added as the prefix if the given string contains English double quotation mark, can this UQL line be processed
Alias
Example: find email addresses that contain "@ultipa"
find().nodes({@email}) as n
where n.address contains "@ultipa"
return n{*}
Property
Example: find email addresses that contain "@ultipa"
find().nodes({@email.address contains "@ultipa"}) as n
return n{*}