fn parse_artist_tag(src: &str) -> Vec<String> {
    if src.contains(';') {
        return src.split(';').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    if src.contains(',') {
        return src.split(',').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    if src.contains('/') {
        return src.split('/').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    vec![src.to_owned()]
}
//Try to split artist string with common separators
Try to split artist string with common separators
Try to split artist string with common separators
fn parse_artist_tag(src: &str) -> Vec<String> {
    if src.contains(';') {
        return src.split(';').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    if src.contains(',') {
        return src.split(',').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    if src.contains('/') {
        return src.split('/').collect::<Vec<&str>>().into_iter().map(|v| v.to_owned()).collect();
    }
    vec![src.to_owned()]
}
fn parse_artist_tag ( src : & str ) -> Vec < String > { if src . contains ( ';' ) { return src . split ( ';' ) . collect :: < Vec < & str > > ( ) . into_iter ( ) . map ( | v | v . to_owned ( ) ) . collect ( ) ; } if src . contains ( ',' ) { return src . split ( ',' ) . collect :: < Vec < & str > > ( ) . into_iter ( ) . map ( | v | v . to_owned ( ) ) . collect ( ) ; } if src . contains ( '/' ) { return src . split ( '/' ) . collect :: < Vec < & str > > ( ) . into_iter ( ) . map ( | v | v . to_owned ( ) ) . collect ( ) ; } vec ! [ src to_owned ( ) ] }
Try to split artist string with common separators
Try to split artist string with common separators
src
&str