Pad a string to minimum width
Usage
strPad(x, width, side = c("left", "right"), pad = " ")
Arguments
- x
character
. Character vector that does not containNA
or empty strings.- width
integer(1)
. Padding width.- side
character(1)
. Apply padding to the left or right side.- pad
character(1)
. Single padding character.