R provides
number of useful functions to work with strings. Subsequent posts explain some
of the useful functions provided by R.
grep() :
Search for a pattern in a character vector
nchar() : Get
the length of string
paste() :
Concatenate strings
sprintf() : Assemble
string in formatted manner
grep() :
Search for a string
regexpr():
Search for a pattern in given text
gregexpr() : Search all occurrences of given pattern
gregexpr() : Search all occurrences of given pattern
No comments:
Post a Comment