Learn R Programming

icd9 (version 0.2.1)

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.

Usage

strip(x, pattern = " ")

Arguments

x
is a character vector to strip

Value

  • character vector