[][src]Function push::crypto::extract_value

fn extract_value(string: Option<&str>, target: &str) -> Option<Vec<u8>>

Extract the sub-value from the header. Sub values have the form of label=value. Due to a bug in some push providers, treat ',' and ';' as equivalent. @param string: the string to search,