Learn R Programming

diffdf (version 1.1.2)

string_pad: Pad String

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