apoc.text.swapCase

Function APOC Core

apoc.text.swapCase(text) YIELD value - Swap the case of a 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"