Judges whether a string contains another string.
<value1> CONTAINS <value2>Example: Judge whether 'Graph Database' contains 'graph'
UQLreturn "Graph Database@d134" contains "graph"
Result0
Example: Convert 'Graph Database' to lowercase and judge whether it contains 'graph'
UQLreturn lower("Graph Database@d134") contains "graph"
Result1
Example: Judge each row of an alias whether it contains 'graph'
UQLuncollect ["Graph", "grAph", "graph"] as a return a contains "graph"
Result0 0 1
Sample graph: (to be used for the following examples)

Example: Find nodes whose email contains 'ultipa'
UQLfind().nodes({email contains "ultipa"}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P002 | 2 | 27 | [email protected] |
Example: Find nodes of @professor, whose email contains 'ultipa'
UQLfind().nodes({@professor.email contains "ultipa"}) as n return n{*}
Result|--------------- @professor --------------| | _id | _uuid | age | email | |-------|-------|-------|-----------------| | P002 | 2 | 27 | [email protected] |