R: Simple, Consistent Wrappers for Common String Operations

# Simple, Consistent Wrappers for Common String Operations

## Documentation for package ‘stringr’ version 1.5.1

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

## Help Pages

boundary | Control matching behaviour with modifier functions
case | Convert string to upper case, lower case, title case, or sentence case
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 one string
str_conv | Specify the encoding of a string
str_count | Count number of matches
str_detect | Detect the presence/absence of a match
str_dup | Duplicate a string
str_ends | Detect the presence/absence of a match at the start/end
str_equal | Determine if two strings are equivalent
str_escape | Escape regular expression metacharacters
str_extract | Extract the complete match
str_extract_all | Extract the complete match
str_flatten | Flatten a string
str_flatten_comma | Flatten a string
str_glue | Interpolation with glue
str_glue_data | Interpolation with glue
str_length | Compute the length/width
str_like | Detect a pattern in the same way as 'SQL"s 'LIKE' operator
str_locate | Find location of match
str_locate_all | Find location of match
str_match | Extract components (capturing groups) from a match
str_match_all | Extract components (capturing groups) from a match
str_order | Order, rank, or sort a character vector
str_pad | Pad a string to minimum width
str_rank | Order, rank, or sort a character vector
str_remove | Remove matched patterns
str_remove_all | Remove matched patterns
str_replace | Replace matches with new text
str_replace_all | Replace matches with new text
str_replace_na | Turn NA into "NA"
str_sort | Order, rank, or sort a character vector
str_split | Split up a string into pieces
str_split_1 | Split up a string into pieces
str_split_fixed | Split up a string into pieces
str_split_i | Split up a string into pieces
str_squish | Remove whitespace
str_starts | Detect the presence/absence of a match at the start/end
str_sub | Get and set substrings using their positions
str_sub<- | Get and set substrings using their positions
str_subset | Find matching elements
str_sub_all | Get and set substrings using their positions
str_to_lower | Convert string to upper case, lower case, title case, or sentence case
str_to_sentence | Convert string to upper case, lower case, title case, or sentence case
str_to_title | Convert string to upper case, lower case, title case, or sentence case
str_to_upper | Convert string to upper case, lower case, title case, or sentence case
str_trim | Remove whitespace
str_trunc | Truncate a string to maximum width
str_unique | Remove duplicated strings
str_view | View strings and matches
str_view_all | View strings and matches
str_which | Find matching indices
str_width | Compute the length/width
str_wrap | Wrap words into nicely formatted paragraphs
word | Extract words from a sentence
words | Sample character vectors for practicing string manipulations