apoc.text.capitalizeAll

Function

apoc.text.capitalizeAll(text String) - capitalizes the first letter of every word in the given string.

Signature

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

Input parameters

Name Type Default

text

STRING?

null

Usage Examples

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

"Graph Database"