R: Fast and Portable Character String Processing Facilities

# Fast and Portable Character String Processing Facilities

## Documentation for package ‘stringi’ version 1.8.4

- DESCRIPTION file.
- Package NEWS.

## Help Pages

A E L O S misc

stringi-package | Fast and Portable Character String Processing in R

## -- A --

about_arguments | Passing Arguments to Functions in 'stringi'
about_encoding | Character Encodings and 'stringi'
about_locale | Locales and 'stringi'
about_search | String Searching
about_search_boundaries | Text Boundary Analysis in 'stringi'
about_search_charclass | Character Classes in 'stringi'
about_search_coll | Locale-Sensitive Text Searching in 'stringi'
about_search_fixed | Locale-Insensitive Fixed Pattern Matching in 'stringi'
about_search_regex | Regular Expressions in 'stringi'
about_stringi | Fast and Portable Character String Processing in R
arguments | Passing Arguments to Functions in 'stringi'

## -- E --

encoding | Character Encodings and 'stringi'

## -- L --

locale | Locales and 'stringi'

## -- O --

operator_add | Concatenate Two Character Vectors
operator_compare | Compare Strings with or without Collation
operator_dollar | C-Style Formatting with 'stri_sprintf' as a Binary Operator
operator_multiply | Duplicate Strings
operator_plus | Concatenate Two Character Vectors
oper_compare | Compare Strings with or without Collation
oper_comparison | Compare Strings with or without Collation
oper_dollar | C-Style Formatting with 'stri_sprintf' as a Binary Operator
oper_multiply | Duplicate Strings
oper_plus | Concatenate Two Character Vectors

## -- S --

search | String Searching
search_boundaries | Text Boundary Analysis in 'stringi'
search_charclass | Character Classes in 'stringi'
search_coll | Locale-Sensitive Text Searching in 'stringi'
search_fixed | Locale-Insensitive Fixed Pattern Matching in 'stringi'
search_regex | Regular Expressions in 'stringi'
stringi | Fast and Portable Character String Processing in R
stringi-arguments | Passing Arguments to Functions in 'stringi'
stringi-encoding | Character Encodings and 'stringi'
stringi-locale | Locales and 'stringi'
stringi-search | String Searching
stringi-search-boundaries | Text Boundary Analysis in 'stringi'
stringi-search-charclass | Character Classes in 'stringi'
stringi-search-coll | Locale-Sensitive Text Searching in 'stringi'
stringi-search-fixed | Locale-Insensitive Fixed Pattern Matching in 'stringi'
stringi-search-regex | Regular Expressions in 'stringi'
stri_c | Concatenate Character Vectors
stri_cmp | Compare Strings with or without Collation
stri_cmp_eq | Compare Strings with or without Collation
stri_cmp_equiv | Compare Strings with or without Collation
stri_cmp_ge | Compare Strings with or without Collation
stri_cmp_gt | Compare Strings with or without Collation
stri_cmp_le | Compare Strings with or without Collation
stri_cmp_lt | Compare Strings with or without Collation
stri_cmp_neq | Compare Strings with or without Collation
stri_cmp_nequiv | Compare Strings with or without Collation
stri_coll | Generate a List with Collator Settings
stri_compare | Compare Strings with or without Collation
stri_conv | Convert Strings Between Given Encodings
stri_count | Count the Number of Pattern Occurrences
stri_count_boundaries | Count the Number of Text Boundaries
stri_count_charclass | Count the Number of Pattern Occurrences
stri_count_coll | Count the Number of Pattern Occurrences
stri_count_fixed | Count the Number of Pattern Occurrences
stri_count_regex | Count the Number of Pattern Occurrences
stri_count_words | Count the Number of Text Boundaries
stri_c_list | Concatenate Strings in a List
stri_datetime_add | Date and Time Arithmetic
stri_datetime_add<- | Date and Time Arithmetic
stri_datetime_create | Create a Date-Time Object
stri_datetime_fields | Get Values for Date and Time Fields
stri_datetime_format | Date and Time Formatting and Parsing
stri_datetime_fstr | Convert 'strptime'-Style Format Strings
stri_datetime_now | Get Current Date and Time
stri_datetime_parse | Date and Time Formatting and Parsing
stri_datetime_symbols | List Localizable Date-Time Formatting Data
stri_detect | Detect Pattern Occurrences
stri_detect_charclass | Detect Pattern Occurrences
stri_detect_coll | Detect Pattern Occurrences
stri_detect_fixed | Detect Pattern Occurrences
stri_detect_regex | Detect Pattern Occurrences
stri_dup | Duplicate Strings
stri_duplicated | Determine Duplicated Elements
stri_duplicated_any | Determine Duplicated Elements
stri_encode | Convert Strings Between Given Encodings
stri_enc_detect | Detect Character Set and Language
stri_enc_detect2 | [DEPRECATED] Detect Locale-Sensitive Character Encoding
stri_enc_fromutf32 | Convert From UTF-32
stri_enc_get | Set or Get Default Character Encoding in 'stringi'
stri_enc_info | Query a Character Encoding
stri_enc_isascii | Check If a Data Stream Is Possibly in ASCII
stri_enc_isutf16be | Check If a Data Stream Is Possibly in UTF-16 or UTF-32
stri_enc_isutf16le | Check If a Data Stream Is Possibly in UTF-16 or UTF-32
stri_enc_isutf32be | Check If a Data Stream Is Possibly in UTF-16 or UTF-32
stri_enc_isutf32le | Check If a Data Stream Is Possibly in UTF-16 or UTF-32
stri_enc_isutf8 | Check If a Data Stream Is Possibly in UTF-8
stri_enc_list | List Known Character Encodings
stri_enc_mark | Get Declared Encodings of Each String
stri_enc_set | Set or Get Default Character Encoding in 'stringi'
stri_enc_toascii | Convert To ASCII
stri_enc_tonative | Convert Strings To Native Encoding
stri_enc_toutf32 | Convert Strings To UTF-32
stri_enc_toutf8 | Convert Strings To UTF-8
stri_endswith | Determine if the Start or End of a String Matches a Pattern
stri_endswith_charclass | Determine if the Start or End of a String Matches a Pattern
stri_endswith_coll | Determine if the Start or End of a String Matches a Pattern
stri_endswith_fixed | Determine if the Start or End of a String Matches a Pattern
stri_escape_unicode | Escape Unicode Code Points
stri_extract | Extract Pattern Occurrences
stri_extract_all | Extract Pattern Occurrences
stri_extract_all_boundaries | Extract Data Between Text Boundaries
stri_extract_all_charclass | Extract Pattern Occurrences
stri_extract_all_coll | Extract Pattern Occurrences
stri_extract_all_fixed | Extract Pattern Occurrences
stri_extract_all_regex | Extract Pattern Occurrences
stri_extract_all_words | Extract Data Between Text Boundaries
stri_extract_first | Extract Pattern Occurrences
stri_extract_first_boundaries | Extract Data Between Text Boundaries
stri_extract_first_charclass | Extract Pattern Occurrences
stri_extract_first_coll | Extract Pattern Occurrences
stri_extract_first_fixed | Extract Pattern Occurrences
stri_extract_first_regex | Extract Pattern Occurrences
stri_extract_first_words | Extract Data Between Text Boundaries
stri_extract_last | Extract Pattern Occurrences
stri_extract_last_boundaries | Extract Data Between Text Boundaries
stri_extract_last_charclass | Extract Pattern Occurrences
stri_extract_last_coll | Extract Pattern Occurrences
stri_extract_last_fixed | Extract Pattern Occurrences
stri_extract_last_regex | Extract Pattern Occurrences
stri_extract_last_words | Extract Data Between Text Boundaries
stri_flatten | Flatten a String
stri_info | Query Default Settings for 'stringi'
stri_isempty | Determine if a String is of Length Zero
stri_join | Concatenate Character Vectors
stri_join_list | Concatenate Strings in a List
stri_length | Count the Number of Code Points
stri_list2matrix | Convert a List to a Character Matrix
stri_locale_get | Set or Get Default Locale in 'stringi'
stri_locale_info | Query Given Locale
stri_locale_list | List Available Locales
stri_locale_set | Set or Get Default Locale in 'stringi'
stri_locate | Locate Pattern Occurrences
stri_locate_all | Locate Pattern Occurrences
stri_locate_all_boundaries | Locate Text Boundaries
stri_locate_all_charclass | Locate Pattern Occurrences
stri_locate_all_coll | Locate Pattern Occurrences
stri_locate_all_fixed | Locate Pattern Occurrences
stri_locate_all_regex | Locate Pattern Occurrences
stri_locate_all_words | Locate Text Boundaries
stri_locate_first | Locate Pattern Occurrences
stri_locate_first_boundaries | Locate Text Boundaries
stri_locate_first_charclass | Locate Pattern Occurrences
stri_locate_first_coll | Locate Pattern Occurrences
stri_locate_first_fixed | Locate Pattern Occurrences
stri_locate_first_regex | Locate Pattern Occurrences
stri_locate_first_words | Locate Text Boundaries
stri_locate_last | Locate Pattern Occurrences
stri_locate_last_boundaries | Locate Text Boundaries
stri_locate_last_charclass | Locate Pattern Occurrences
stri_locate_last_coll | Locate Pattern Occurrences
stri_locate_last_fixed | Locate Pattern Occurrences
stri_locate_last_regex | Locate Pattern Occurrences
stri_locate_last_words | Locate Text Boundaries
stri_match | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_all | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_all_regex | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_first | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_first_regex | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_last | Extract Regex Pattern Matches, Together with Capture Groups
stri_match_last_regex | Extract Regex Pattern Matches, Together with Capture Groups
stri_na2empty | Replace NAs with Empty Strings
stri_numbytes | Count the Number of Bytes
stri_omit_empty | Remove All Empty Strings from a Character Vector
stri_omit_empty_na | Remove All Empty Strings from a Character Vector
stri_omit_na | Remove All Empty Strings from a Character Vector
stri_opts_brkiter | Generate a List with BreakIterator Settings
stri_opts_collator | Generate a List with Collator Settings
stri_opts_fixed | Generate a List with Fixed Pattern Search Engine's Settings
stri_opts_regex | Generate a List with Regex Matcher Settings
stri_order | Ordering Permutation
stri_pad | Pad (Center/Left/Right Align) a String
stri_pad_both | Pad (Center/Left/Right Align) a String
stri_pad_left | Pad (Center/Left/Right Align) a String
stri_pad_right | Pad (Center/Left/Right Align) a String
stri_paste | Concatenate Character Vectors
stri_paste_list | Concatenate Strings in a List
stri_printf | Format Strings
stri_rand_lipsum | A Lorem Ipsum Generator
stri_rand_shuffle | Randomly Shuffle Code Points in Each String
stri_rand_strings | Generate Random Strings
stri_rank | Ranking
stri_read_lines | Read Text Lines from a Text File
stri_read_raw | Read Text File as Raw
stri_remove_empty | Remove All Empty Strings from a Character Vector
stri_remove_empty_na | Remove All Empty Strings from a Character Vector
stri_remove_na | Remove All Empty Strings from a Character Vector
stri_replace | Replace Pattern Occurrences
stri_replace_all | Replace Pattern Occurrences
stri_replace_all_charclass | Replace Pattern Occurrences
stri_replace_all_coll | Replace Pattern Occurrences
stri_replace_all_fixed | Replace Pattern Occurrences
stri_replace_all_regex | Replace Pattern Occurrences
stri_replace_first | Replace Pattern Occurrences
stri_replace_first_charclass | Replace Pattern Occurrences
stri_replace_first_coll | Replace Pattern Occurrences
stri_replace_first_fixed | Replace Pattern Occurrences
stri_replace_first_regex | Replace Pattern Occurrences
stri_replace_last | Replace Pattern Occurrences
stri_replace_last_charclass | Replace Pattern Occurrences
stri_replace_last_coll | Replace Pattern Occurrences
stri_replace_last_fixed | Replace Pattern Occurrences
stri_replace_last_regex | Replace Pattern Occurrences
stri_replace_na | Replace Missing Values in a Character Vector
stri_replace_rstr | Convert gsub-Style Replacement Strings
stri_reverse | Reverse Each String
stri_sort | String Sorting
stri_sort_key | Sort Keys
stri_split | Split a String By Pattern Matches
stri_split_boundaries | Split a String at Text Boundaries
stri_split_charclass | Split a String By Pattern Matches
stri_split_coll | Split a String By Pattern Matches
stri_split_fixed | Split a String By Pattern Matches
stri_split_lines | Split a String Into Text Lines
stri_split_lines1 | Split a String Into Text Lines
stri_split_regex | Split a String By Pattern Matches
stri_sprintf | Format Strings
stri_startswith | Determine if the Start or End of a String Matches a Pattern
stri_startswith_charclass | Determine if the Start or End of a String Matches a Pattern
stri_startswith_coll | Determine if the Start or End of a String Matches a Pattern
stri_startswith_fixed | Determine if the Start or End of a String Matches a Pattern
stri_stats_general | General Statistics for a Character Vector
stri_stats_latex | Statistics for a Character Vector Containing LaTeX Commands
stri_string_format | Format Strings
stri_sub | Extract a Substring From or Replace a Substring In a Character Vector
stri_sub<- | Extract a Substring From or Replace a Substring In a Character Vector
stri_subset | Select Elements that Match a Given Pattern
stri_subset<- | Select Elements that Match a Given Pattern
stri_subset_charclass | Select Elements that Match a Given Pattern
stri_subset_charclass<- | Select Elements that Match a Given Pattern
stri_subset_coll | Select Elements that Match a Given Pattern
stri_subset_coll<- | Select Elements that Match a Given Pattern
stri_subset_fixed | Select Elements that Match a Given Pattern
stri_subset_fixed<- | Select Elements that Match a Given Pattern
stri_subset_regex | Select Elements that Match a Given Pattern
stri_subset_regex<- | Select Elements that Match a Given Pattern
stri_sub_all | Extract or Replace Multiple Substrings
stri_sub_all<- | Extract or Replace Multiple Substrings
stri_sub_all_replace | Extract or Replace Multiple Substrings
stri_sub_replace | Extract a Substring From or Replace a Substring In a Character Vector
stri_sub_replace_all | Extract or Replace Multiple Substrings
stri_timezone_get | Set or Get Default Time Zone in 'stringi'
stri_timezone_info | Query a Given Time Zone
stri_timezone_list | List Available Time Zone Identifiers
stri_timezone_set | Set or Get Default Time Zone in 'stringi'
stri_trans_casefold | Transform Strings with Case Mapping or Folding
stri_trans_char | Translate Characters
stri_trans_general | General Text Transforms, Including Transliteration
stri_trans_isnfc | Perform or Check For Unicode Normalization
stri_trans_isnfd | Perform or Check For Unicode Normalization
stri_trans_isnfkc | Perform or Check For Unicode Normalization
stri_trans_isnfkc_casefold | Perform or Check For Unicode Normalization
stri_trans_isnfkd | Perform or Check For Unicode Normalization
stri_trans_list | List Available Text Transforms and Transliterators
stri_trans_nfc | Perform or Check For Unicode Normalization
stri_trans_nfd | Perform or Check For Unicode Normalization
stri_trans_nfkc | Perform or Check For Unicode Normalization
stri_trans_nfkc_casefold | Perform or Check For Unicode Normalization
stri_trans_nfkd | Perform or Check For Unicode Normalization
stri_trans_tolower | Transform Strings with Case Mapping or Folding
stri_trans_totitle | Transform Strings with Case Mapping or Folding
stri_trans_toupper | Transform Strings with Case Mapping or Folding
stri_trim | Trim Characters from the Left and/or Right Side of a String
stri_trim_both | Trim Characters from the Left and/or Right Side of a String
stri_trim_left | Trim Characters from the Left and/or Right Side of a String
stri_trim_right | Trim Characters from the Left and/or Right Side of a String
stri_unescape_unicode | Un-escape All Escape Sequences
stri_unique | Extract Unique Elements
stri_width | Determine the Width of Code Points
stri_wrap | Word Wrap Text to Format Paragraphs
stri_write_lines | Write Text Lines to a Text File

## -- misc --

%s!=% | Compare Strings with or without Collation
%s!==% | Compare Strings with or without Collation
%s$% | C-Style Formatting with 'stri_sprintf' as a Binary Operator
%s*% | Duplicate Strings
%s+% | Concatenate Two Character Vectors
%s<% | Compare Strings with or without Collation
%s<=% | Compare Strings with or without Collation
%s==% | Compare Strings with or without Collation
%s===% | Compare Strings with or without Collation
%s>% | Compare Strings with or without Collation
%s>=% | Compare Strings with or without Collation
%stri!=% | Compare Strings with or without Collation
%stri!==% | Compare Strings with or without Collation
%stri$% | C-Style Formatting with 'stri_sprintf' as a Binary Operator
%stri*% | Duplicate Strings
%stri+% | Concatenate Two Character Vectors
%stri<% | Compare Strings with or without Collation
%stri<=% | Compare Strings with or without Collation
%stri==% | Compare Strings with or without Collation
%stri===% | Compare Strings with or without Collation
%stri>% | Compare Strings with or without Collation
%stri>=% | Compare Strings with or without Collation