format_pad: Pad a string to a given length.

Description Usage Arguments Value See Also

View source: R/format_numbers.R

Description

Pad a string to a given length.

Usage

1
format_pad(x, width, side = "left", character = " ")

Arguments

x

The string to pad.

width

How long should the string be?

side

To which side should the padding be added ("left" / "right")?

character

Which character to use.

Value

A string.

See Also

Other variables and functions for displaying numbers: eenv_decimals, eenv_signif_bottom, eenv_signif_digits, eenv_signif_steps, format_float, format_int, format_number, format_perc, format_p


randomchars42/eenv documentation built on May 20, 2019, 1:29 p.m.