fill 0 before a string. in and out: a vector with length 1. if length(x) > 1, use unlist(lapply(x,FUN = mf_fill0)). e.g. 12 --- 012

mf_prefix0(x, d = 2)

Arguments

d

digits

Value

character

Examples