Pad a vector of numerical string with zeros.
This function helps to pad numbers on the left side with zeros so that they may be used to create strings used in filesystem names (for example).
a vector of strings representing numbers.
number of zeros to pad to the left of the string.
a (vector of) string(s) with np number of zeros padded on as a prefix
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.