A one-line function to strip whitespace from its argument.
despace(s)
s
a character vector.
stopifnot(despace("\n \t ")=="")