apoc.text.capitalizeAll

Function APOC Core

apoc.text.capitalizeAll(text) YIELD value - capitalise the first letter of every word in the text

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"