apoc.text.capitalize

Function

apoc.text.capitalize(text String) - capitalizes the first letter of the given string.

Signature

apoc.text.capitalize(text :: STRING?) :: (STRING?)

Input parameters

Name Type Default

text

STRING?

null

Usage Examples

Capitalise the first letter of the word
RETURN apoc.text.capitalize("neo4j") AS output;
Table 1. Results
output

"Neo4j"