deblank: Remove blanks from strings.

View source: R/deblank.R

deblankR Documentation

Remove blanks from strings.

Description

Remove blanks from strings.

Usage

deblank(a)

Arguments

a

Character string

Details

Removes all blanks from strings. The functuon works on vectors of strings, removing blanks on each element.

Value

Character string with no blanks.

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples



j = c(' James', 'Jones ', 'Alpha Dog')

deblank(j)



ProfessR documentation built on Aug. 21, 2023, 9:07 a.m.