public static bool IsRegion(string s) { // region = 2ALPHA ; ISO 3166-1 code // / 3DIGIT ; UN M.49 code return(((s.Length == 2) && AsciiUtil.IsAlphaString(s)) || ((s.Length == 3) && AsciiUtil.IsNumericString(s))); }
public static bool IsRegion(string s) { // region = 2ALPHA ; ISO 3166-1 code // / 3DIGIT ; UN M.49 code return(((s.Length == 2) && AsciiUtil.IsAlphaString(s)) || ((s.Length == 3) && AsciiUtil.IsNumericString(s))); }