toLower()
returns the original string in lowercase.
Syntax: toLower(original)
Returns: A String.
Arguments
Name | Description |
original | An expression that returns a string. |
Example
RETURN toLower("HELLO, WORLD!")
The value returned will be a string that will be similar to the original string “HELLO, WORLD!”, except that all upper case alphabets will be replaced by their lower case equivalents. Hence the returned string will be “hello, world!”.
Considerations
toLower(null)
returnsnull
.
Example
RETURN toLower("CYPHER TUTORIALS!")
Returns the following Result
toLower("CYPHER TUTORIALS!") |
"cypher tutorials!" |
Example
RETURN toLower("Cypher Tutorials!")
Returns the following Result
toLower("Cypher Tutorials!") |
"cypher tutorials!" |
Example
RETURN toLower("cypher tutorials!")
Returns the following Result
toLower("cypher tutorials!") |
"cypher tutorials!" |
Example
RETURN toLower(null)
Returns the following Result
toLower(null) |
null |
Note– toLower(null)
returns null
.