Learn R Programming

rbmi (version 1.4.1)

string_pad: string_pad

Description

Utility function used to replicate str_pad. Adds white space to either end of a string to get it to equal the desired length

Usage

string_pad(x, width)

Arguments

x

string

width

desired length