# Simple, Consistent Wrappers for Common String Operations

## Documentation for package ‘stringr’ version 1.4.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

boundary | Control matching behaviour with modifier functions.
case | Convert case of a string.
coll | Control matching behaviour with modifier functions.
fixed | Control matching behaviour with modifier functions.
fruit | Sample character vectors for practicing string manipulations.
invert_match | Switch location of matches to location of non-matches.
modifiers | Control matching behaviour with modifier functions.
regex | Control matching behaviour with modifier functions.
sentences | Sample character vectors for practicing string manipulations.
stringr-data | Sample character vectors for practicing string manipulations.
str_c | Join multiple strings into a single string.
str_conv | Specify the encoding of a string.
str_count | Count the number of matches in a string.
str_detect | Detect the presence or absence of a pattern in a string.
str_dup | Duplicate and concatenate strings within a character vector.
str_ends | Detect the presence or absence of a pattern at the beginning or end of a string.
str_extract | Extract matching patterns from a string.
str_extract_all | Extract matching patterns from a string.
str_flatten | Flatten a string
str_glue | Format and interpolate a string with glue
str_glue_data | Format and interpolate a string with glue
str_length | The length of a string.
str_locate | Locate the position of patterns in a string.
str_locate_all | Locate the position of patterns in a string.
str_match | Extract matched groups from a string.
str_match_all | Extract matched groups from a string.
str_order | Order or sort a character vector.
str_pad | Pad a string.
str_remove | Remove matched patterns in a string.
str_remove_all | Remove matched patterns in a string.
str_replace | Replace matched patterns in a string.
str_replace_all | Replace matched patterns in a string.
str_replace_na | Turn NA into "NA"
str_sort | Order or sort a character vector.
str_split | Split up a string into pieces.
str_split_fixed | Split up a string into pieces.
str_squish | Trim whitespace from a string
str_starts | Detect the presence or absence of a pattern at the beginning or end of a string.
str_sub | Extract and replace substrings from a character vector.
str_sub<- | Extract and replace substrings from a character vector.
str_subset | Keep strings matching a pattern, or find positions.
str_to_lower | Convert case of a string.
str_to_sentence | Convert case of a string.
str_to_title | Convert case of a string.
str_to_upper | Convert case of a string.
str_trim | Trim whitespace from a string
str_trunc | Truncate a character string.
str_view | View HTML rendering of regular expression match.
str_view_all | View HTML rendering of regular expression match.
str_which | Keep strings matching a pattern, or find positions.
str_wrap | Wrap strings into nicely formatted paragraphs.
word | Extract words from a sentence.
words | Sample character vectors for practicing string manipulations.