| padString | R Documentation |
pad a character string to a fixed length
padString(
x,
stringLength = max(nchar(x)),
padCharacter = " ",
justify = "left",
...
)
x |
|
stringLength |
|
padCharacter |
|
justify |
|
... |
additional parameters are ignored. |
character vector of length(x)
Other jam string functions:
asSize(),
breaksByVector(),
fillBlanks(),
formatInt(),
gsubOrdered(),
gsubs(),
makeNames(),
nameVector(),
nameVectorN(),
padInteger(),
pasteByRow(),
pasteByRowOrdered(),
sizeAsNum(),
tcount(),
ucfirst()
padString(c("one","two","three"));
padString(c("one","two","three","four"), padCharacter="_", justify="center");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.