Overview
The lower()
function converts all letters within a string to lowercase, leaving other characters unchanged, and returns the modified string.
Syntax
lower(str)
Argument | Type | Description |
---|---|---|
str |
String | The string to be modified |
Return type: String
Example of Result
return lower("ABc536")
Result: abc536
Example of Use
Retrieve users whose city property values, when converted to lowercase, match "new york".
find().nodes({lower(@user.city) == "new york"}) as n
return n{*}