removeNewlineChars: Remove new line characters

Description Usage Arguments Value Author(s) Examples

View source: R/stemmer.R

Description

Removes new line characters from a string.

Usage

1

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

1
2
3
4
5
6
7
8
## 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)  

arabicStemR documentation built on May 2, 2019, 10:14 a.m.