snakify

Function snakify 

Source
pub fn snakify(s: &str) -> String
Expand description

heck doesn’t treat numbers as new words, but this function does. E.g. for input Hello2You, heck would output hello2_you, and snakify would output hello_2_you.