apoc.text.swapCase

Function

apoc.text.swapCase(text String) - swaps the cases in the given string.

Signature

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

Input parameters

Name Type Default

text

STRING?

null

Usage Examples

RETURN apoc.text.swapCase("Neo4j")  AS output;
Table 1. Results
output

"nEO4J"