R/get_num.R

Defines functions get_num

Documented in get_num

#' Extract A Number from Text
#'
#' Extract A Number from Text.
#'
#' @param xx text string / vector
#' @export
get_num <- function(xx) {
  gsub('[^0-9]', "",xx)
}
data-steve/kleentex documentation built on May 12, 2017, 5:41 p.m.