str_pad: Pad a string to a fixed size

View source: R/pxweb_interactive.R

str_padR 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

n

final char width

pad

pad symbol

type

pad from 'left' or 'right'.

x

a character vector to pad


pxweb documentation built on Oct. 31, 2022, 5:07 p.m.