- :string
- or :nothing
indent
indent each line of given text
Parameters
indent text :string :literal
Attributes
n | :integer | pad by given number of spaces (default: 4) |
with | :string | use given padding |
Returns
Examples
copystr: "one\ntwo\nthree" print indent str ; one ; two ; three print indent .n:10 .with:"#" str ; ##########one ; ##########two ; ##########three