Concatenate list in a string

Hello @dhanashree.murge :slight_smile:

You can use apoc.text.join() function from APOC plugin:

WITH [2, 4, 5, 7] AS list, "test" AS name
RETURN name + " | " + apoc.text.join([i IN list | toString(i)], ",")

Regards,
Cobra

2 Likes