Skip to content

$ Pad

Syntax: x$y, $[x;y]

Where

  • x is a long
  • y a string

returns y padded to length x.

q)10$"foo"
"foo       "
q)-10$"foo"
"       foo"

Basics: Strings
$ dollar