pub fn trim_prefix<'a>(prefix: &'a str, root: &'a str) -> &'a str {
	match root.find(prefix) {
		Some(i) => &root[i+prefix.len()..],
		None => root,
	}
}
// Trim a substring (prefix) from the beginning of a string.
Trim a substring (prefix) from the beginning of a string.
Trim a substring ( prefix ) from the beginning of a string .
pub fn trim_prefix<'a>(prefix: &'a str, root: &'a str) -> &'a str {
	match root.find(prefix) {
		Some(i) => &root[i+prefix.len()..],
		None => root,
	}
}
pub fn trim_prefix < ' a > ( prefix : & ' a str , root : & ' a str ) -> & ' a str { match root . find ( prefix ) { Some ( i ) => & root [ i + prefix . len ( ) .. ] , None => root , } }
Trim a substring (prefix) from the beginning of a string.
Trim a substring ( prefix ) from the beginning of a string .
prefix
&'a str
root
&'a str
prefix
&'a str
root
&'a str