apoc.text.upperCamelCase

Details

Syntax

apoc.text.upperCamelCase(text)

Description

Converts the given STRING to upper camel case.

Arguments

Name

Type

Description

text

STRING

The string to convert to camel case.

Returns

STRING

Usage Examples

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

"FooBar"

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

"FooBar"

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

"Foo22Bar"

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

"FooBar"

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

"Foobar"

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

"FooBar"