Cypher toLower Function

toLower() returns the original string in lowercase.

Syntax: toLower(original)

Returns: A String.

Arguments

NameDescription
originalAn 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) returns null.

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

NotetoLower(null) returns null.

Learn More