1 2 3 4 5 6 7 8 9 10 11
pub (crate) fn check_in_array(v :Vec<String>, cmpv :&str) -> bool { for s in v.iter() { let vs = format!("{}",s); if vs == cmpv { return true; } } return false; }