See Original text in context
multi method indent(Int where )multi method indent(Int where )multi method indent( where )
Indents each line of the string by $steps
. If $steps
is negative, it outdents instead. If $steps
is *
, then the string is outdented to the margin:
" indented by 2 spaces\n indented even more".indent(*)eq "indented by 2 spaces\n indented even more"