pub fn screaming_snake_case_with_limit<T: AsRef<str>>(
    t: T,
    limit: usize
) -> String
Expand description

Formats the input string as a screaming snake case name and limits the length of the name.

Examples

assert_eq!(reword::screaming_snake_case_with_limit("Even Olsson Rogstadkjærnet", 25), "EVEN_O_ROGSTADKJÆRNET");