apoc.text.capitalize

Details

Syntax

apoc.text.capitalize(text)

Description

Capitalizes the first letter of the given STRING.

Arguments

Name

Type

Description

text

STRING

The string in which to capitalize the first letter.

Returns

STRING

Usage Examples

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

"Neo4j"