apoc.text.rpad

Function

apoc.text.rpad(text STRING, count INTEGER, delimiter STRING) - right pads the given STRING by the given width.

Signature

apoc.text.rpad(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.rpad("Neo4j", 8, "-") AS output;
Table 1. Results
output

"Neo4j---"