apoc.text.lpad

Function APOC Core

apoc.text.lpad(text,count,delim) YIELD value - left pad the string to the given width

Signature

apoc.text.lpad(text :: STRING?, count :: INTEGER?, delim =   :: STRING?) :: (STRING?)

Input parameters

Name Type Default

text

STRING?

null

count

INTEGER?

null

delim

STRING?

Usage Examples

RETURN apoc.text.lpad("Neo4j", 8, "-") AS output;
Table 1. Results
output

"---Neo4j"