Learn R Programming

icd9 (version 0.5)

strip: strip all whitespace

Description

could do this with regular expression, but slow, and this function is called frequently. My only use case works with removal of all whitespace, and I don't expect .

Usage

strip(x, pattern = " ")

Arguments

x
is a character vector to strip

Value

  • character vector