url: https://stringr.tidyverse.org
development:
mode: auto
template:
package: tidytemplate
bootstrap: 5
includes:
in_header: |
home:
links:
- text: Learn more at R4DS
href: http://r4ds.hadley.nz/strings.html
reference:
- title: Pattern matching
- subtitle: String
contents:
- str_count
- str_detect
- str_escape
- str_extract
- str_locate
- str_match
- str_replace
- str_remove
- str_split
- str_starts
- modifiers
- subtitle: Vector
desc: >
Unlike other pattern matching functions, these functions operate on the
original character vector, not the individual matches.
contents:
- str_subset
- str_which
- title: Combining strings
contents:
- str_c
- str_flatten
- str_glue
- title: Character based
contents:
- str_dup
- str_length
- str_pad
- str_sub
- str_trim
- str_trunc
- str_wrap
- title: Locale aware
contents:
- str_order
- str_equal
- case
- str_unique
- title: Other helpers
contents:
- invert_match
- str_conv
- str_like
- str_replace_na
- str_to_camel
- str_view
- word
- title: Bundled data
contents:
- "`stringr-data`"
news:
releases:
- text: "Version 1.6.0"
href: https://tidyverse.org/blog/2025/11/stringr-1-6-0/
- text: "Version 1.5.0"
href: https://www.tidyverse.org/blog/2022/12/stringr-1-5-0/
- text: "Version 1.4.0"
href: https://www.tidyverse.org/articles/2019/02/stringr-1-4-0/
- text: "Version 1.3.0"
href: https://www.tidyverse.org/articles/2018/02/stringr-1-3-0/
- text: "Version 1.2.0"
href: https://blog.rstudio.com/2017/04/12/tidyverse-updates/
- text: "Version 1.1.0"
href: https://blog.rstudio.com/2016/08/24/stringr-1-1-0/
- text: "Version 1.0.0"
href: https://blog.rstudio.com/2015/05/05/stringr-1-0-0/