pad: Add character strings on either end of an input character...

Usage Arguments Value Examples

Usage

1
pad(text, pads, rpads)

Arguments

text

input character string

pads

character string to append and prepend to text

rpads

(optional) if provided, adds different text on right-hand side of string.

Value

character string, original text with pads appended and prepended

Examples

1
2
pad('file', '00')
pad('filename', '', '.csv')

ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.