powered by
trimCharVars: trim white spaces in character variables from an input dataframe
trimCharVars(DF)
Input dataframe
DF with preceding and trailing white spaces removed from character fields
DF
# NOT RUN { trimCharVars(iris) # }
Run the code above in your browser using DataLab