apoc.path.slice

Function APOC Core

apoc.path.slice(path, [offset], [length]) - creates a sub-path with the given offset and length

Signature

apoc.path.slice(path :: PATH?, offset = 0 :: INTEGER?, length = -1 :: INTEGER?) :: (PATH?)

Input parameters

Name Type Default

path

PATH?

null

offset

INTEGER?

0

length

INTEGER?

-1