R/get_last_char.R

Defines functions get_last_char

Documented in get_last_char

#' Extract the Last Character
#'
#' Extract the last charcter from each word in a string.
#'
#' @param x text string
#' @export
get_last_char <- function (x) {
    stringi::stri_extract_all_regex(x, "\\w\\b")[[1]]
}
data-steve/kleentex documentation built on May 12, 2017, 5:41 p.m.