pad: Pad a string.

Description Usage Arguments Value See Also

Description

Pad a string.

Usage

1
pad(x, n = 10, where = "left", pad = " ")

Arguments

x

Input character vector.

n

Pad x to this (minimum) width.

where

Side where the padding is added.

pad

Padding character.

Value

A character vector.

See Also

Other string-utils: blanks, dup, replace_ext, split_path, strip_ext, strsplitN, trim, wrap


gschofl/gsmisc documentation built on May 17, 2019, 8:52 a.m.