cleanChars | R Documentation |
Cleans any characters in string that are not in either the Latin unicode range or in the Arabic alphabet
cleanChars(texts)
texts |
A string from which characters which are not Latin or Arabic should be removed. |
cleanChars
returns a string with only Latin and Arabic characters.
Rich Nielsen
## Create string with Arabic, latin, and Hebrew characters x <- '\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627 Hello \u05d0' ## Remove characters from string that are not Arabic or latin cleanChars(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.