Nothing
convert_trailing_chars <- function(x, from_char = " ", to_char = "-") {
match <- stringi::stri_extract_last_regex(x, paste0(from_char, "+$"))
match[is.na(match)] <- 0
if (!all(is.na(match))) {
replacement <- stringi::stri_dup(str = to_char, times = stringi::stri_length(match))
return(stringi::stri_replace_last_regex(str = x, pattern = paste0(from_char, "+$"), replacement = replacement))
}
x
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.