Remove leading and trailing whitespace from strings

trimString(s)

Arguments

s

vector of character strings

Value

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