apoc.text.slug
Function
apoc.text.slug(text String, delimiter String)
- replaces the whitespace in the given string with the given delimiter.
Usage Examples
RETURN apoc.text.slug("Neo4j Aura") AS output;
output |
---|
"Neo4j-Aura" |
The default delimiter is -
.
We can, however, pass in a custom delimiter as the second parameter:
RETURN apoc.text.slug("Neo4j Aura", ".") AS output;
output |
---|
"Neo4j.Aura" |
Was this page helpful?