Function mpdpopm::commands::process_replacements[][src]

pub fn process_replacements(
    templ: &str,
    params: &HashMap<String, String>
) -> Result<String, Error>
Expand description

Process a replacement string with replacement parameters of the form “%param” given a lookup table for parameter replacements. Literal `%’-s can be expressed as “%%”.