sandwich

Function sandwich 

Source
pub fn sandwich(prefix: &str, root: &str, suffix: &str) -> String
Expand description

Wraps root with prefix and suffix when root is non-empty.