R/str-currency.R

Defines functions str_last_currency first_currency str_first_currency nth_currency str_nth_currency extract_currencies str_extract_currencies

Documented in extract_currencies first_currency nth_currency str_extract_currencies str_first_currency str_last_currency str_nth_currency

#' Get the currencies of numbers within a string.
#'
#' See [strex::str_extract_currencies()].
#'
#' @name currency
#'
#' @inheritParams match_arg
#'
#' @export
str_extract_currencies <- function(...){
  strex::str_extract_currencies(...)
}

#' @rdname currency
#' @export
extract_currencies <- function(...){
  strex::str_extract_currencies(...)
}

#' @rdname currency
#' @export
str_nth_currency <- function(...){
  strex::str_nth_currency(...)
}

#' @rdname currency
#' @export
nth_currency <- function(...){
  strex::str_nth_currency(...)
}

#' @rdname currency
#' @export
str_first_currency <- function(...){
  strex::str_first_currency(...)
}

#' @rdname currency
#' @export
first_currency <- function(...){
  strex::str_first_currency(...)
}

#' @rdname currency
#' @export
str_last_currency <- function(...){
  strex::str_last_currency(...)
}

#' @rdname currency
#' @export
last_currency <- str_last_currency

Try the filesstrings package in your browser

Any scripts or data that you put into this service are public.

filesstrings documentation built on May 29, 2024, 3:32 a.m.