apoc.text.random

Function APOC Core

apoc.text.random(length, valid) YIELD value - generate a random string

Signature

apoc.text.random(length :: INTEGER?, valid = A-Za-z0-9 :: STRING?) :: (STRING?)

Input parameters

Name Type Default

length

INTEGER?

null

valid

STRING?

A-Za-z0-9