README.md

caractr

caractr provides a few functions in addition of those within stringr package.

Its name corresponds to the simplified French translation of character because some of the functions deal with French characters.

Examples


# Paste with an extra na.rm parameter
paste("chaine1", NA_character_, "chaine2")
caractr::str_paste("chaine1", NA_character_, "chaine2")

# Remove (French) accents in a string
caractr::str_remove_accent("Université de Franche-Comté")

# Converts from a numeric percentage to a French formatted label.
caractr::str_percent_fr(0.111, digits = 1)



stephLH/caractr documentation built on May 13, 2020, 1:53 p.m.