Learn R Programming

oce (version 1.7-8)

trimString: Remove leading and trailing whitespace from strings

Description

Remove leading and trailing whitespace from strings

Usage

trimString(s)

Value

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

Arguments

s

vector of character strings