str_pad: Pad a string to a fixed size

Description Usage Arguments

View source: R/pxweb_interactive.R

Description

Pad a string to a fixed size

Usage

1
str_pad(txt, n = 5, pad = " ", type = "left")

Arguments

n

final char width

pad

pad symbol

type

pad from 'left' or 'right'.

x

a character vector to pad


pxweb documentation built on Oct. 10, 2021, 1:06 a.m.