powered by
Add padding to string
add_padding(d, length = NULL, after = FALSE, pad = "0")
vector or character strings of same length.
vector of strings or numbers
final string length
if padding should be added after as opposed to default before
padding string of length 1
add_padding(sample(1:200,5))
Run the code above in your browser using DataLab