Pad: Difference between revisions
Content added Content deleted
("Add category") |
("Add all appropriate categories to each verb") |
||
Line 19: | Line 19: | ||
[[Category:Operator verbs]] |
[[Category:Operator verbs]] |
||
[[Category:Verbs]] |
|||
[[Category:Primitives]] |
Revision as of 03:16, 9 July 2022
Pad
x$s
pad pads a string with spaces on one side to a specific length, based on an integer x
.
Positive integers pad on the right, and negative integers pad on the left.
Padding is fully atomic, and special cased to treat strings as atoms.
10$"abc" "abc " (3;4;(5;6))$("xy";"za";("bc";"cd")) ("xy " "za " ("bc " "cd "))