powered by
Padd a character vector
padString(x, width, padding = " ")
x with padding appended to each element
x
The character vector
The width to pad to
The character to pad with
padString( c("One", "Two", "Three" ), width = 7 );
Run the code above in your browser using DataLab