apoc.text.repeat

Function APOC Core

apoc.text.repeat(item, count) - string multiplication

Signature

apoc.text.repeat(item :: STRING?, count :: INTEGER?) :: (STRING?)

Input parameters

Name Type Default

item

STRING?

null

count

INTEGER?

null

Usage Examples

RETURN apoc.text.repeat('item', 5) AS output;
Table 1. Results
output

"itemitemitemitemitem"