bt_string_utils 0.2.3

Basic string operations
Documentation

Project Title

BT STRING UTILS

Description

Simple string utility to split and return parts of the string.

Usage

let content_first = get_first_ocurrance("First:Second:Third",":");
let content = get_first_of_split("First:Second:Third",":");

Version History

  • 0.1.0
    • Initial Release
  • 0.2.0
    • Add function to find the value of a given key in a Vector of Strings with the form "key=value"
    • Breaking change: Change Name of function due to typo. get_first_occurrance
  • 0.2.1
    • Add remove_char function to remove a character from the begining or end of String
  • 0.2.2
    • Breaking change: Add Enum remove_location (Begin or End) for remove_char
  • 0.2.3
    • Add Function to generate Random String of size n (generate_url_safe_string).

License

GPL-3.0-only