stringr: modern, consistent string processing

String processing is not glamorous, but it is frequently used in data cleaning and preparation. The existing string functions in R are powerful, but not friendly. To remedy this, the stringr package provides string functions that are simpler and more consistent, and also fixes some functionality that R is missing compared to other programming languages.

Hadley Wickham


Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".


For attribution, please cite this work as

Wickham, "stringr: modern, consistent string processing", The R Journal, 2010

BibTeX citation

  author = {Wickham, Hadley},
  title = {stringr: modern, consistent string processing},
  journal = {The R Journal},
  year = {2010},
  note = {},
  doi = {10.32614/RJ-2010-012},
  volume = {2},
  issue = {2},
  issn = {2073-4859},
  pages = {38-40}