stringr: Simple, Consistent Wrappers for Common String Operations

A consistent, simple and easy to use set of wrappers around the fantastic 'stringi' package. All function and argument names (and positions) are consistent, all functions deal with "NA"'s and zero length vectors in the same way, and the output from one function is easy to feed into the input of another.

Install the latest version of this package by entering the following in R:
install.packages("stringr")
AuthorHadley Wickham [aut, cre, cph], RStudio [cph]
Date of publication2017-02-18 21:23:06
MaintainerHadley Wickham <hadley@rstudio.com>
LicenseGPL-2 | file LICENSE
Version1.2.0
http://stringr.tidyverse.org
https://github.com/tidyverse/stringr

View on CRAN

Functions

\%>\% Man page
boundary Man page
case Man page
coll Man page
fixed Man page
fruit Man page
ignore.case Man page
invert_match Man page
modifier-deprecated Man page
modifiers Man page
perl Man page
regex Man page
sentences Man page
str_c Man page
str_conv Man page
str_count Man page
str_detect Man page
str_dup Man page
str_extract Man page
str_extract_all Man page
stringr Man page
stringr-data Man page
stringr-package Man page
str_interp Man page
str_join Man page
str_length Man page
str_locate Man page
str_locate_all Man page
str_match Man page
str_match_all Man page
str_order Man page
str_pad Man page
str_replace Man page
str_replace_all Man page
str_replace_na Man page
str_sort Man page
str_split Man page
str_split_fixed Man page
str_sub Man page
str_sub<- Man page
str_subset Man page
str_to_lower Man page
str_to_title Man page
str_to_upper Man page
str_trim Man page
str_trunc Man page
str_view Man page
str_view_all Man page
str_which Man page
str_wrap Man page
word Man page
words Man page

Files

inst
inst/htmlwidgets
inst/htmlwidgets/str_view.js
inst/htmlwidgets/lib
inst/htmlwidgets/lib/str_view.css
inst/htmlwidgets/str_view.yaml
inst/doc
inst/doc/stringr.R
inst/doc/stringr.html
inst/doc/regular-expressions.R
inst/doc/stringr.Rmd
inst/doc/regular-expressions.html
inst/doc/regular-expressions.Rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/test-trim.r tests/testthat/test-replace.r tests/testthat/test-sub.r tests/testthat/test-length.r tests/testthat/test-interp.r tests/testthat/test-word.r tests/testthat/test-extract.r tests/testthat/test-wrap.r tests/testthat/test-subset.r tests/testthat/test-detect.r tests/testthat/test-split.r tests/testthat/test-match.r tests/testthat/test-dup.r tests/testthat/test-pad.r tests/testthat/test-locate.r tests/testthat/test-count.r tests/testthat/test-join.r
NAMESPACE
NEWS.md
data
data/fruit.rda
data/sentences.rda
data/words.rda
R
R/utils.R R/wrap.r R/subset.R R/case.R R/split.r R/stringr.R R/conv.R R/length.r R/modifiers.r R/sort.R R/data.R R/word.r R/locate.r R/sub.r R/dup.r R/pad-trim.r R/count.r R/interp.R R/detect.r R/match.r R/view.R R/extract.r R/replace.r R/c.r
vignettes
vignettes/releases
vignettes/releases/stringr-1.1.0.Rmd
vignettes/releases/stringr-1.0.0.Rmd
vignettes/stringr.Rmd
vignettes/regular-expressions.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/word.Rd man/str_sub.Rd man/str_length.Rd man/str_trunc.Rd man/pipe.Rd man/str_trim.Rd man/str_conv.Rd man/str_replace_na.Rd man/str_subset.Rd man/str_split.Rd man/stringr-data.Rd man/str_c.Rd man/stringr-package.Rd man/str_count.Rd man/case.Rd man/str_replace.Rd man/str_wrap.Rd man/str_pad.Rd man/invert_match.Rd man/str_dup.Rd man/str_locate.Rd man/str_detect.Rd man/modifier-deprecated.Rd man/str_order.Rd man/str_view.Rd man/str_extract.Rd man/str_match.Rd man/modifiers.Rd man/str_interp.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.