str_pad {pxweb} | R Documentation |
Pad a string to a fixed size
Description
Pad a string to a fixed size
Usage
str_pad(txt, n = 5, pad = " ", type = "left")
Arguments
txt |
a character vector to pad |
n |
final char width |
pad |
pad symbol |
type |
pad from 'left' or 'right'. |
[Package pxweb version 0.17.0 Index]