R Tutorial R Charts & Graphs R Statistics R References

R String Functions



R has a rich set of built-in functions for working with strings such as converting a text into uppercase or lowercase etc. These functions are listed below. For more details about any one of these, please visit its page.

R String Functions

Other Functions

FunctionsDescription
substr() Extracts or replaces a substring from a character vector.
substring() Extracts or replaces a substring from a character vector.
tolower() Converts texts to lowercase string.
toupper() Converts texts to uppercase string.