Pad a string to the longest width of the strings.
Examples
x <- c("a", "ab", "abc")
pad2longest(x, side = "right", pad = " ")
#> [1] "a " "ab " "abc"
Pad a string to the longest width of the strings.
x <- c("a", "ab", "abc")
pad2longest(x, side = "right", pad = " ")
#> [1] "a " "ab " "abc"