#' 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]]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.