removeNewlineChars {arabicStemR} | R Documentation |
Remove new line characters
Description
Removes new line characters from a string.
Usage
removeNewlineChars(texts)
Arguments
texts |
A string from which new line characters should be removed. |
Value
removeNewlineChars
returns a string with new line characters removed.
Author(s)
Rich Nielsen
Examples
## 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)
[Package arabicStemR version 1.3 Index]