Description Usage Arguments Details Value See Also Examples
Transform string
into a simple lowercase ASCII representation. Options
to convert string
to lowercase, remove non-letter characters, replace
German Umlaute, and transliterate diacritical letters (á, å, ê, ...).
1 2 3 4 5 6 7 | string_clean(
string,
lower = TRUE,
spec_chars = TRUE,
umlaute = TRUE,
diacritics = TRUE
)
|
string |
A character vector. |
lower |
Boolean, convert |
spec_chars |
Boolean, remove non-letters. |
umlaute |
Boolean, replace German Umlaute. |
diacritics |
Boolean, transliterate diacritical letters. |
The function removes full stops, i.e. breaks sentences.
string
, modified.
The function internally calls .remove_special_chars
,
.replace_umlaute
, and .remove_diacritics
.
1 | string_clean("Thîs sŧriñg will bé å løt simplêr. Köln is not in M-V.")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.