Search notes:
R functions to process strings
Some functions that allow to process strings in R are
Extract parts from a string:
substr
and
substring
Use
regular expressions
:
grep
gsub
,
gregexpr
strsplit
to split a string into a
list
.
Concatenate strings with
paste
toupper
and
tolower
nchar
counts the characters in a string.
sprintf
See also
Basic string manipulation in R
Index to (some) R functions
Index