Skip to content
Prev 367282 / 398506 Next

[FORGED] function for remove white space

Hi Jos? (and Rolf),

It's not entirely clear what type of 'whitespace' you're referring to,
but if you're using read.table() or read.csv() to create your
dataframe in the first place, setting 'strip.white = TRUE' will remove
leading and trailing whitespace 'from unquoted character fields
(numeric fields are always stripped).'
Cheers,

Bill
On 2/21/17, Rolf Turner <r.turner at auckland.ac.nz> wrote: