apoc.text.indexesOf

Function

apoc.text.indexesOf(text, lookup, from=0, to=-1==len) - finds all occurences of the lookup string in the text, return list, from inclusive, to exclusive, empty list if not found, null if text is null.

Signature

apoc.text.indexesOf(text :: STRING?, lookup :: STRING?, from = 0 :: INTEGER?, to = -1 :: INTEGER?) :: (LIST? OF ANY?)

Input parameters

Name Type Default

text

STRING?

null

lookup

STRING?

null

from

INTEGER?

0

to

INTEGER?

-1