powered by
Remove blanks from strings.
deblank(a)
Character string with no blanks.
Character string
Jonathan M. Lees<jonathan.lees@unc.edu>
Removes all blanks from strings. The functuon works on vectors of strings, removing blanks on each element.
j = c(' James', 'Jones ', 'Alpha Dog') deblank(j)
Run the code above in your browser using DataLab