Learn R Programming

testdat (version 0.2)

remove_white_spaces: remove_white_spaces

Description

Removes white spaces that could end up padding text

Usage

remove_white_spaces(text)

Arguments

text
Input text. Usually this would be a character field.

Examples

Run this code
## Not run: 
# remove_white_spaces(" Karthik Ram")
# remove_white_spaces(" Karthik Ram ")
# ## End(Not run)

Run the code above in your browser using DataLab