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

removeNonNumericR Documentation

Removes all non-numeric characters from a string.

Description

Function removes all non-numeric characters from a string.

Usage

removeNonNumeric ( string)

Arguments

string

a character vector

Value

a character string

Author(s)

Sebastian Weirich

Examples

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

eatTools documentation built on May 29, 2024, 6:03 a.m.