removeNonNumeric: Removes all non-numeric characters from a string.

Description Usage Arguments Value Author(s) Examples

Description

Function removes all non-numeric characters from a string.

Usage

1
removeNonNumeric ( string)

Arguments

string

a character vector

Value

a character string

Author(s)

Sebastian Weirich

Examples

1
2
str <- c(".d1.nh.120", "empty", "110", ".nh.dgd", "only.nh")
removeNonNumeric(str)

eatRep documentation built on May 2, 2019, 5:40 p.m.