apoc.coll.split
Procedure
apoc.coll.split(coll [Any], value Any)
- splits a collection by the given value.
The value itself will not be part of the resulting lists.
Usage examples
The following splits a collection on the value .
:
CALL apoc.coll.split(["Hello", "World", ".", "How", "are", "you", "?"], ".");
Value |
---|
["Hello", "World"] |
["How", "are", "you", "?"] |
Was this page helpful?