Crate bt_string_utils

Source
Expand description

Multiple String related functions

Enums§

RemoveLocationEnum
Remove Location for remove_char function

Functions§

find_value_by_key
Finds and returns the value corresponding to a given key in a vector of key-value pairs.
generate_url_safe_string
Generates a random URL-safe string of the specified length.
get_first_occurrance
Finds and returns the substring before the first occurrence of a given separator.
get_first_of_split
Splits the given string at the first occurrence of the specified separator.
remove_char
Removes the first or last character of a string if it matches the given target character.