public static RealWorldSite Split(string s)
        {
            string[] ss = s.Split("|".ToCharArray());
            if (ss.Length != 5)
            {
                return(null);
            }
            string        errMsg = "";
            RealWorldSite ret    = RealWorldSite.New(ref errMsg, IndexOfCountrys(ss[0]), IndexOfProvinces(ss[1]), IndexOfCitys(ss[2]), IndexOfAreas(ss[3]), ss[4]);

            return(ret);
        }
 public static string Combin(RealWorldSite site)
 {
     return(string.Format("{0}|{1}|{2}|{3}|{4}", site.Country, site.Province, site.City, site.Area, site.Addr));
 }