Skip to content
Prev 67474 / 398506 Next

removing characters from a string

Just gsub() non-numerics with ""; e.g.:
[1] "981"

[I'm really bad in regular expressions, and don't know how to construct
"non-numerics".]

Andy