Function unescape

Source
pub fn unescape<'a>(
    input: &'a str,
    delimiter: &str,
) -> Result<Cow<'a, str>, String>
Expand description

Convert any escaped delimiter sequence in the input string slices. Use unescape function for removing the escape character ’' from each escaped delimiter sequences in input string slices. This returns two variants, a Cow wrapped string if succeeds, and an error in String type if fails. unescape is the reversed function of escape .