Extra String Manipulation Functions


[Up] [Top]

Documentation for package ‘strex’ version 0.1.3

Help Pages

strex-package 'strex': extra string manipulation functions
currency Get the currencies of numbers within a string.
match_arg Argument Matching.
strex 'strex': extra string manipulation functions
str_after_first Text before or after nth occurrence of pattern.
str_after_last Text before or after nth occurrence of pattern.
str_after_nth Text before or after nth occurrence of pattern.
str_alphord_nums Make string numbers comply with alphabetical order.
str_before_first Text before or after nth occurrence of pattern.
str_before_last Text before or after nth occurrence of pattern.
str_before_last_dot Get the part of a string before the last period.
str_before_nth Text before or after nth occurrence of pattern.
str_can_be_numeric Check if a string could be considered as numeric.
str_elem Extract a single character from a string, using its index.
str_extract_non_numerics Extract non-numbers from a string.
str_extract_numbers Extract numbers from a string.
str_first_non_numeric Extract non-numbers from a string.
str_first_number Extract numbers from a string.
str_first_number_after_first Find the nth number after the mth occurrence of a pattern.
str_first_number_after_last Find the nth number after the mth occurrence of a pattern.
str_first_number_after_mth Find the nth number after the mth occurrence of a pattern.
str_first_number_before_first Find the nth number before the mth occurrence of a pattern.
str_first_number_before_last Find the nth number before the mth occurrence of a pattern.
str_first_number_before_mth Find the nth number before the mth occurrence of a pattern.
str_get_currencies Get the currencies of numbers within a string.
str_get_currency Get the currencies of numbers within a string.
str_give_ext Ensure a file name has the intended extension.
str_last_non_numeric Extract non-numbers from a string.
str_last_number Extract numbers from a string.
str_last_number_after_first Find the nth number after the mth occurrence of a pattern.
str_last_number_after_last Find the nth number after the mth occurrence of a pattern.
str_last_number_after_mth Find the nth number after the mth occurrence of a pattern.
str_last_number_before_first Find the nth number before the mth occurrence of a pattern.
str_last_number_before_last Find the nth number before the mth occurrence of a pattern.
str_last_number_before_mth Find the nth number before the mth occurrence of a pattern.
str_locate_braces Locate the braces in a string.
str_locate_first Locate the indices of the nth instance of a pattern.
str_locate_last Locate the indices of the nth instance of a pattern.
str_locate_nth Locate the indices of the nth instance of a pattern.
str_match_arg Argument Matching.
str_nth_non_numeric Extract non-numbers from a string.
str_nth_number Extract numbers from a string.
str_nth_number_after_first Find the nth number after the mth occurrence of a pattern.
str_nth_number_after_last Find the nth number after the mth occurrence of a pattern.
str_nth_number_after_mth Find the nth number after the mth occurrence of a pattern.
str_nth_number_before_first Find the nth number before the mth occurrence of a pattern.
str_nth_number_before_last Find the nth number before the mth occurrence of a pattern.
str_nth_number_before_mth Find the nth number before the mth occurrence of a pattern.
str_paste_elems Extract bits 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_nums 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