Description Usage Arguments Value Note Author(s) Examples
Pad a string, insert substring.
1 2 3 |
str, ins |
String to be modified, to insert. |
space |
Integer, resulting length of padded string. |
just |
Mode of padding, of justification, one of "left","right","center", partial
matching is allowed. If missing, "right" is taken, meaning
for pad(just="r") right-ways extended (i.e. flush left), for justify(just="r") right-justified; "none" returns |
with |
String to pad with, will be repeated as often as necessary. |
point |
Integer, place of insertion. Appending is done for default value. |
pad, justify
: The string padded with with
.
insstr
The string contained in ins
inserted after character
number point
of str
.
pad(just="r") right-ways extended (i.e. flush left),
justify(just="r") right-justified,
just="none" returns str
unchanged.
Christian W. Hoffmann <christian@echoffmann.ch>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.