apoc.text.upperCamelCase

Function APOC Core

apoc.text.upperCamelCase(text) YIELD value - Convert a string to camelCase

Signature

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

Input parameters

Name Type Default

text

STRING?

null

Usage Examples

RETURN apoc.text.camelCase("FOO_BAR") AS output;
Table 1. Results
output

"FooBar"

RETURN apoc.text.upperCamelCase("Foo bar") AS output;
Table 2. Results
output

"FooBar"

RETURN apoc.text.upperCamelCase("Foo22 bar") AS output;
Table 3. Results
output

"Foo22Bar"

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

"FooBar"

RETURN apoc.text.upperCamelCase("Foobar") AS output;
Table 5. Results
output

"Foobar"

RETURN apoc.text.upperCamelCase("Foo$$Bar") AS output;
Table 6. Results
output

"FooBar"