apoc.text.snakeCase
Syntax |
|
||
Description |
Converts the given |
||
Arguments |
Name |
Type |
Description |
|
|
The string to convert to snake case. |
|
Returns |
|
Usage Examples
RETURN apoc.text.snakeCase("test Snake Case") AS output;
output |
---|
"test-snake-case" |
RETURN apoc.text.snakeCase("FOO_BAR") AS output;
output |
---|
"foo-bar" |
RETURN apoc.text.snakeCase("Foo bar") AS output;
output |
---|
"foo-bar" |
RETURN apoc.text.snakeCase("fooBar") AS output;
output |
---|
"foo-bar" |
RETURN apoc.text.snakeCase("foo-bar") AS output;
output |
---|
"foo-bar" |
RETURN apoc.text.snakeCase("Foo bar") AS output;
output |
---|
"foo-bar" |
RETURN apoc.text.snakeCase("Foo bar") AS output;
output |
---|
"foo-bar" |