pub fn train_case(input: &str) -> StringExpand description
Converts the input string to train case.
It treats the end of a sequence of non-alphabetical characters as a word boundary, but not the beginning.
let train = stringcase::train_case("fooBar123Baz");
assert_eq!(train, "Foo-Bar123-Baz");