deblank {ProfessR} | R Documentation |
Remove blanks from strings.
deblank(a)
a |
Character string |
Removes all blanks from strings. The functuon works on vectors of strings, removing blanks on each element.
Character string with no blanks.
Jonathan M. Lees<jonathan.lees@unc.edu>
j = c(' James', 'Jones ', 'Alpha Dog')
deblank(j)