Skip to main content

unwrap

Function unwrap 

Source
pub fn unwrap(s: &str, before: &str, after: &str) -> String
Expand description

Remove prefix and suffix if present.