Neo4j: String functions Cheat Sheet

left()

left(original, length)

original: An expression that returns a string.

n: An expression that returns a positive integer.

ltrim()

lTrim(original)

An expression that returns a string.

replace()

replace(original, search, replace)

original: An expression that returns a string.

search: An expression that specifies the string to be replaced in original.

replace: An expression that specifies the replacement string.

reverse()

reverse(original)

right()

right(original, length)

rtrim()

rTrim(original)

split()

split(original, splitDelimiter)

splitDelimiter: The string with which to split original.

substring()

substring(original, start [, length])

toLower()

toLower(original)

toString()

toString(expression)

toUpper()

toUpper(original)

trim()

trim(original)

Leave a Reply

Your email address will not be published. Required fields are marked *