powered by
trimWhiteSpace(x)
x
x <- c("a "," b ") trimWhiteSpace(x)
Run the code above in your browser using DataLab