R: Extra String Manipulation Functions

# Extra String Manipulation Functions

## Documentation for package ‘strex’ version 2.1.0

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

## Help Pages

strex-package | 'strex': extra string manipulation functions
before-and-after | Extract text before or after 'n'th occurrence of pattern.
currency | Extract currency amounts from a string.
match_arg | Argument Matching.
strex | 'strex': extra string manipulation functions
str_after_first | Extract text before or after 'n'th occurrence of pattern.
str_after_last | Extract text before or after 'n'th occurrence of pattern.
str_after_nth | Extract text before or after 'n'th occurrence of pattern.
str_alphord_nums | Make string numbers comply with alphabetical order.
str_before_first | Extract text before or after 'n'th occurrence of pattern.
str_before_last | Extract text before or after 'n'th occurrence of pattern.
str_before_last_dot | Extract the part of a string before the last period.
str_before_nth | Extract text before or after 'n'th occurrence of pattern.
str_can_be_numeric | Check if a string could be considered as numeric.
str_detect_all | Detect any or all patterns.
str_detect_any | Detect any or all patterns.
str_elem | Extract a single character from a string, using its index.
str_elems | Extract several single elements from a string.
str_extract_currencies | Extract currency amounts from a string.
str_extract_non_numerics | Extract non-numbers from a string.
str_extract_numbers | Extract numbers from a string.
str_first_currency | Extract currency amounts from a string.
str_first_non_numeric | Extract the 'n'th non-numeric substring from a string.
str_first_number | Extract the 'n'th number from a string.
str_first_number_after_first | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_first_number_after_last | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_first_number_after_mth | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_first_number_before_first | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_first_number_before_last | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_first_number_before_mth | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_give_ext | Ensure a file name has the intended extension.
str_last_currency | Extract currency amounts from a string.
str_last_non_numeric | Extract the 'n'th non-numeric substring from a string.
str_last_number | Extract the 'n'th number from a string.
str_last_number_after_first | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_last_number_after_last | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_last_number_after_mth | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_last_number_before_first | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_last_number_before_last | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_last_number_before_mth | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_locate_braces | Locate the braces in a string.
str_locate_first | Locate the indices of the 'n'th instance of a pattern.
str_locate_last | Locate the indices of the 'n'th instance of a pattern.
str_locate_nth | Locate the indices of the 'n'th instance of a pattern.
str_match_arg | Argument Matching.
str_nth_currency | Extract currency amounts from a string.
str_nth_non_numeric | Extract the 'n'th non-numeric substring from a string.
str_nth_number | Extract the 'n'th number from a string.
str_nth_number_after_first | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_nth_number_after_last | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_nth_number_after_mth | Find the 'n'th number after the 'm'th occurrence of a pattern.
str_nth_number_before_first | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_nth_number_before_last | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_nth_number_before_mth | Find the 'n'th number before the 'm'th occurrence of a pattern.
str_paste_elems | Extract single elements of a string and paste them together.
str_remove_quoted | Remove the quoted parts of a string.
str_singleize | Remove back-to-back duplicates of a pattern in a string.
str_split_by_numbers | Split a string by its numeric characters.
str_split_camel_case | Split a string based on CamelCase.
str_to_vec | Convert a string to a vector of characters
str_trim_anything | Trim something other than whitespace