pad a character string to a fixed length
Arguments
- x
charactervector- stringLength
integerlength for the resulting character strings inx. By default, all strings are padded to the length of the longest entry, however stringLength can be defined to impose strict number of characters for all entries.- padCharacter
characterstring with nchar=1 used for padding.- justify
characterstring with "left", "right", "center" to indicate alignment of the resulting text string.- ...
additional parameters are ignored.
See also
Other jam string functions:
asSize(),
breaksByVector(),
fillBlanks(),
formatInt(),
gsubOrdered(),
gsubs(),
makeNames(),
nameVector(),
nameVectorN(),
padInteger(),
pasteByRow(),
pasteByRowOrdered(),
sizeAsNum(),
tcount(),
ucfirst()