Function reword::screaming_kebab_case_with_limit
source · pub fn screaming_kebab_case_with_limit<T: AsRef<str>>(
t: T,
limit: usize
) -> String
Expand description
Formats the input string as a screaming kebab case name and limits the length of the name.
Examples
assert_eq!(reword::screaming_kebab_case_with_limit("Even Olsson Rogstadkjærnet", 25), "EVEN-O-ROGSTADKJÆRNET");