View source: R/pad_zero_conditional.R
pad_zero_conditional | R Documentation |
pad strings of length X with leading zeroes or any other char
pad_zero_conditional(str, str_len = 7, char_pad = "0")
str |
string |
str_len |
nchar of string for which 0s or other char will be added |
char_pad |
char to be added, default 0 |
returns a string vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.