bt_string_utils

Crates.iobt_string_utils
lib.rsbt_string_utils
version0.2.9
created_at2025-02-03 21:26:52.592237+00
updated_at2026-01-20 20:04:35.094644+00
descriptionBasic string operations
homepagehttps://github.com/bachuetech/bt_string_utils
repositoryhttps://github.com/bachuetech/bt_string_utils
max_upload_size
id1541071
size35,379
(bachuetech)

documentation

README

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 a function to find the value of a given key in a Vector of Strings with the form "key=value"
    • Breaking change: Change the name of the function due to a typo. get_first_occurrance
  • 0.2.1
    • Add remove_char function to remove a character from the beginning or end of the string
  • 0.2.2
    • Breaking change: Add Enum remove_location (Begin or End) for remove_char
  • 0.2.3
    • Add a function to generate a random string of size n (generate_url_safe_string).
  • 0.2.4
    • Update dependencies. Add a function to find whole-word matches
  • 0.2.5
    • Update dependencies.
  • 0.2.6
    • Add function remove first n characters from a &str
  • 0.2.7
    • Add function split_upto_n_by_word to evenly split a string into n groups by words
  • 0.2.8
    • Function split_upto_n_by_word split now using also punctuation marks and whitespace that separate words are at the beginning of a group
  • 0.2.9
    • Add function to remove Tags and the content between tags

License

GPL-3.0-only

Commit count: 13

cargo fmt