deblank {ProfessR}R 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)



[Package ProfessR version 2.4-3 Index]