apoc.text.toUpperCase

Function

apoc.text.toUpperCase(text String) - converts the given string to upper case.

Signature

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

Input parameters

Name Type Default

text

STRING?

null

Usage Examples

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

"TEST_UPPER_CASE"

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

"FOO_BAR"

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

"FOO_BAR"

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

"FOO_BAR"

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

"FOO_BAR"

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

"FOO_BAR"

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

"FOO_22_BAR"