removeNewlineChars {arabicStemR} | R Documentation |
Removes new line characters from a string.
removeNewlineChars(texts)
texts |
A string from which new line characters should be removed. |
removeNewlineChars
returns a string with new line characters removed.
Rich Nielsen
## Create string with Arabic characters
x <- '\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627
\u0627\u0647\u0644\u0627 \u0648\u0633\u0647\u0644\u0627'
## Remove newline characters (gets rid of \n\r\t\f\v)
removeNewlineChars(x)