String Power (string_utils):
reverse(text: &str) -> String: Reverses a given string. to_uppercase(text: &str) -> String: Converts all lowercase letters to uppercase (and vice versa with to_lowercase). replace_all(text: &str, old_sub: &str, new_sub: &str) -> String: Replaces all occurrences of a substring with another. pub fn initcap(text: &str) -> String: Will return original string with first letter capitalized
String utils (string_utils):
read_file(path: &str) -> Result<String, String>: Reads file contents gracefully, handling errors. write_file(path: &str, content: &str) -> Result<(), String>: Writes text to a file, catching any issues. modification_time(path: &str) -> Result<Duration, Box>: Will return duration that describes last time the file with provided path was modified. Otherwise, respective error will be provided.
Data mastery ():
sort_data(data: &mut Vec, field: &str) -> Result<(), String>: Sorts a list based on a specified field (replace T with your data type). filter_data(data: &[T], predicate: fn(T) -> bool) -> Vec: Filters data based on a custom condition you define.