Learn R Programming

oce (version 1.4-0)

trimString: Remove leading and trailing whitespace from strings

Description

Remove leading and trailing whitespace from strings

Usage

trimString(s)

Arguments

s

vector of character strings

Value

a new vector formed by trimming leading and trailing whitespace from the elements of s.