public static Boolean Kiem_tra(String Chuoi) { Boolean kq = true; try { String[] Chuoi_dong = Chuoi.Split(new char[] { Ky_tu_phan_cach_dong }); int So_dong = Chuoi_dong.Length; int So_cot = Chuoi_dong[0].Split(new char[] { Ky_tu_phan_cach_cot }).Length; for (int i = 0; i < So_dong; i++) { String[] Dong = Chuoi_dong[i].Split(new char[] { ',' }); for (int j = 0; j < So_cot; j++) { if (!XL_SO_THUC.Kiem_tra(Dong[j])) { kq = false; break; } } if (!kq) { break; } } } catch (Exception Loi) { kq = false; } return(kq); }
public static Boolean Kiem_tra(String Chuoi) { Boolean kq = true; try { String[] M = Chuoi.Split(new char[] { Ky_tu_phan_cach }); for (int i = 0; i < M.Length; i++) { if (!XL_SO_THUC.Kiem_tra(M[i])) { kq = false; break; } } } catch (Exception Loi) { kq = false; } return(kq); }