pub fn to_train(s: impl AsRef<str>) -> StringExpand description
Converts a string to Train.
Alias for to_case(Case::Train).
Train case strings are delimited by hyphens -. All characters are lowercase except for the leading character of each word.