Man pages for tidyverse/stringr
Simple, Consistent Wrappers for Common String Operations

caseConvert string to upper case, lower case, title case, or...
invert_matchSwitch location of matches to location of non-matches
modifiersControl matching behaviour with modifier functions
pipePipe operator
str_cJoin multiple strings into one string
str_convSpecify the encoding of a string
str_countCount number of matches
str_detectDetect the presence/absence of a match
str_dupDuplicate a string
str_equalDetermine if two strings are equivalent
str_escapeEscape regular expression metacharacters
str_extractExtract the complete match
str_flattenFlatten a string
str_glueInterpolation with glue
stringr-dataSample character vectors for practicing string manipulations
stringr-packagestringr: Simple, Consistent Wrappers for Common String...
str_interpString interpolation
str_lengthCompute the length/width
str_likeDetect a pattern in the same way as 'SQL"s 'LIKE' operator
str_locateFind location of match
str_matchExtract components (capturing groups) from a match
str_orderOrder, rank, or sort a character vector
str_padPad a string to minimum width
str_removeRemove matched patterns
str_replaceReplace matches with new text
str_replace_naTurn NA into "NA"
str_splitSplit up a string into pieces
str_startsDetect the presence/absence of a match at the start/end
str_subGet and set substrings using their positions
str_subsetFind matching elements
str_trimRemove whitespace
str_truncTruncate a string to maximum width
str_uniqueRemove duplicated strings
str_viewView strings and matches
str_whichFind matching indices
str_wrapWrap words into nicely formatted paragraphs
wordExtract words from a sentence
tidyverse/stringr documentation built on Nov. 20, 2023, 5:16 p.m.