Skip to Content


Make it easier to work with strings.
Hadley Wickham <>
stringr is a set of simple wrappers that make R's string functions more consistent, simpler and easier to use. It does this by ensuring that: function and argument names (and positions) are consistent, all functions deal with NA's and zero length character appropriately, and the output data structures from each function matches the input data structures of other functions.
Package Version Released
stringr 0.6.2 3 years 33 weeks ago
stringr 0.6.1 4 years 12 hours ago
stringr 0.6 4 years 32 weeks ago
stringr 0.5 5 years 3 weeks ago
stringr 0.4 5 years 48 weeks ago
stringr 0.3 6 years 23 weeks ago
stringr 0.2 6 years 36 weeks ago
stringr 0.1.10 6 years 37 weeks ago
I imagined that there had to be an easier way to work with strings in R, so i made a quick search on crantastic and found this package right away. Works as described with no nonsense, recommended.
Think of all the functions that you regularly use, that you have to always spend a bit of time thinking about, to get the correct syntax. Now use this package that contains all of these functions,...
Your rating: None Overall: 4 (330 votes)
Your rating: None Documentation: 3.7 (128 votes)