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---"