apoc.text.toUpperCase

Details

Syntax

apoc.text.toUpperCase(text)

Description

Converts the given STRING to upper case.

Arguments

Name

Type

Description

text

STRING

The string to convert to upper case.

Returns

STRING

Usage Examples

RETURN apoc.text.toUpperCase("test upper case") AS output;
Results
output

"TEST_UPPER_CASE"

RETURN apoc.text.toUpperCase("FooBar") AS output;
Results
output

"FOO_BAR"

RETURN apoc.text.toUpperCase("fooBar") AS output;
Results
output

"FOO_BAR"

RETURN apoc.text.toUpperCase("foo-bar") AS output;
Results
output

"FOO_BAR"

RETURN apoc.text.toUpperCase("foo--bar") AS output;
Results
output

"FOO_BAR"

RETURN apoc.text.toUpperCase("foo$$bar") AS output;
Results
output

"FOO_BAR"

RETURN apoc.text.toUpperCase("foo 22 bar") AS output;
Results
output

"FOO_22_BAR"