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

txt

a character vector to pad

n

final char width

pad

pad symbol

type

pad from 'left' or 'right'.


pxweb documentation built on May 29, 2024, 2:28 a.m.