powered by
Pad Character Vectors
a character vector
character
integer scalar. target string width
integer
character scalar. the symbol to pad with
pad_left("foo", 5) pad_right("foo", 5, ".") pad_left(c("foo", "foooooo"), pad = ".")
Run the code above in your browser using DataLab