apoc.text.swapCase

Details

Syntax

apoc.text.swapCase(text)

Description

Swaps the cases in the given STRING.

Arguments

Name

Type

Description

text

STRING

The string to swap the case of.

Returns

STRING

Usage Examples

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

"nEO4J"