This function will be removed from an upcoming version of oce, because
the base function trimws() does the same and more, without having
problems with encoding (see https://github.com/dankelley/oce/issues/1993).
trimString(s)vector of character strings
a new vector formed by trimming leading and trailing whitespace
from the elements of s.