apoc.text.capitalizeAll

Details

Syntax

apoc.text.capitalizeAll(text)

Description

Capitalizes the first letter of every word in the given STRING.

Arguments

Name

Type

Description

text

STRING

The string in which to capitalize every word.

Returns

STRING

Usage Examples

Capitalise the first letter of every word in the text
RETURN apoc.text.capitalizeAll("graph database") AS output;
Results
output

"Graph Database"