removesuffix

Function removesuffix 

Source
pub fn removesuffix(text: &str, suffix: &str) -> String
Expand description

Removes suffix when present.