Learn R Programming

biofiles (version 1.0.0)

pad: Pad a string

Description

Pad a string

Usage

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.