Js array of countries and regions

en

var geolocation= [
["AO", "Angola"],
["AF", "Afghanistan"],
["AL", "Albania"],
["DZ", "Algeria"],
["AD", "Andorra"],
["AI", "Anguilla"],
["AG", "Barbuda Antigua"],
["AR", "Argentina"],
["AM", "Armenia"],
["AU", "Australia"],
["AT", "Austria"],
["AZ", "Azerbaijan"],
["BS", "Bahamas"],
["BH", "Bahrain"],
["BD", "Bangladesh"],
["BB", "Barbados"],
["BY", "Belarus"],
["BE", "Belgium"],
["BZ", "Belize"],
["BJ", "Benin"],
["BM", "Bermuda Is."],
["BO", "Bolivia"],
["BW", "Botswana"],
["BR", "Brazil"],
["BN", "Brunei"],
["BG", "Bulgaria"],
["BF", "Burkina-faso"],
["MM", "Burma"],
["BI", "Burundi"],
["CM", "Cameroon"],
["CA", "Canada"],
["CF", "Central African Republic"],
["TD", "Chad"],
["CL", "Chile"],
["CN", "China"],
["CO", "Colombia"],
["CG", "Congo"],
["CK", "Cook Is."],
["CR", "Costa Rica"],
["CU", "Cuba"],
["CY", "Cyprus"],
["CZ", "Czech Republic"],
["DK", "Denmark"],
["DJ", "Djibouti"],
["DO", "Dominica Rep."],
["EC", "Ecuador"],
["EG", "Egypt"],
["SV", "EI Salvador"],
["EE", "Estonia"],
["ET", "Ethiopia"],
["FJ", "Fiji"],
["FI", "Finland"],
["FR", "France"],
["GF", "French Guiana"],
["GA", "Gabon"],
["GM", "Gambia"],
["GE", "Georgia"],
["DE", "Germany"],
["GH", "Ghana"],
["GI", "Gibraltar"],
["GR", "Greece"],
["GD", "Grenada"],
["GU", "Guam"],
["GT", "Guatemala"],
["GN", "Guinea"],
["GY", "Guyana"],
["HT", "Haiti"],
["HN", "Honduras"],
["HK", "Hongkong"],
["HU", "Hungary"],
["IS", "Iceland"],
["IN", "India"],
["ID", "Indonesia"],
["IR", "Iran"],
["IQ", "Iraq"],
["IE", "Ireland"],
["IL", "Israel"],
["IT", "Italy"],
["JM", "Jamaica"],
["JP", "Japan"],
["JO", "Jordan"],
["KH", "Kampuchea (Cambodia )"],
["KZ", "Kazakstan"],
["KE", "Kenya"],
["KR", "Korea"],
["KW", "Kuwait"],
["KG", "Kyrgyzstan"],
["LA", "Laos"],
["LV", "Latvia"],
["LB", "Lebanon"],
["LS", "Lesotho"],
["LR", "Liberia"],
["LY", "Libya"],
["LI", "Liechtenstein"],
["LT", "Lithuania"],
["LU", "Luxembourg"],
["MO", "Macao"],
["MG", "Madagascar"],
["MW", "Malawi"],
["MY", "Malaysia"],
["MV", "Maldives"],
["ML", "Mali"],
["MT", "Malta"],
["MU", "Mauritius"],
["MX", "Mexico"],
["MD", "Moldova"],
["MC", "Monaco"],
["MN", "Mongolia"],
["MS", "Montserrat Is."],
["MA", "Morocco"],
["MZ", "Mozambique"],
["NA", "Namibia"],
["NR", "Nauru"],
["NP", "Nepal"],
["NL", "Netherlands"],
["NZ", "New Zealand"],
["NI", "Nicaragua"],
["NE", "Niger"],
["NG", "Nigeria"],
["KP", "North Korea"],
["NO", "Norway"],
["OM", "Oman"],
["PK", "Pakistan"],
["PA", "Panama"],
["PG", "Papua New Cuinea"],
["PY", "Paraguay"],
["PE", "Peru"],
["PH", "Philippines"],
["PL", "Poland"],
["PF", "French Polynesia"],
["PT", "Portugal"],
["PR", "Puerto Rico"],
["QA", "Qatar"],
["RO", "Romania"],
["RU", "Russia"],
["LC", "Saint Lueia"],
["VC", "Saint Vincent"],
["SM", "San Marino"],
["ST", "Sao Tome and Principe"],
["SA", "Saudi Arabia"],
["SN", "Senegal"],
["SC", "Seychelles"],
["SL", "Sierra Leone"],
["SG", "Singapore"],
["SK", "Slovakia"],
["SI", "Slovenia"],
["SB", "Solomon Is."],
["SO", "Somali"],
["ZA", "South Africa"],
["ES", "Spain"],
["LK", "Sri Lanka"],
["SD", "Sudan"],
["SR", "Suriname"],
["SZ", "Swaziland"],
["SE", "Sweden"],
["CH", "Switzerland"],
["SY", "Syria"],
["TW", "Taiwan"],
["TJ", "Tajikstan"],
["TZ", "Tanzania"],
["TH", "Thailand"],
["TG", "Togo"],
["TO", "Tonga"],
["TT", "Trinidad and Tobago"],
["TN", "Tunisia"],
["TR", "Turkey"],
["TM", "Turkmenistan"],
["UG", "Uganda"],
["UA", "Ukraine"],
["AE", "United Arab Emirates"],
["GB", "United Kiongdom"],
["US", "United States of America"],
["UY", "Uruguay"],
["UZ", "Uzbekistan"],
["VE", "Venezuela"],
["VN", "Vietnam"],
["YE", "Yemen"],
["YU", "Yugoslavia"],
["ZW", "Zimbabwe"],
["ZR", "Zaire"],
["ZM", "Zambia"]
                      ];

cn

var geolocation= [
["AO", "  Angola  "],
["AF", "  Afghanistan  "],
["AL", "  Albania  "],
["DZ", "  Algeria  "],
["AD", "  Andorra  "],
["AI", "  Anguilla  "],
["AG", "  Antigua and Barbuda  "],
["AR", "  Argentina  "],
["AM", "  Armenia  "],
["AU", "  Australia  "],
["AT", "  Austria  "],
["AZ", "  Azerbaijan  "],
["BS", "  Bahamas  "],
["BH", "  Bahrain  "],
["BD", "  Bangladesh  "],
["BB", "  Barbados  "],
["BY", "  Belarus  "],
["BE", "  Belgium  "],
["BZ", "  Belize  "],
["BJ", "  Benin  "],
["BM", "  Bermuda  "],
["BO", "  Bolivia  "],
["BW", "  Botswana  "],
["BR", "  Brazil  "],
["BN", "  Brunei  "],
["BG", "  Bulgarian  "],
["BF", "  Burkina Faso  "],
["MM", "  Myanmar  "],
["BI", "  Burundi  "],
["CM", "  Cameroon  "],
["CA", "  Canada  "],
["CF", "  Central African Republic  "],
["TD", "  Chad  "],
["CL", "  Chile  "],
["CN", "  China  "],
["CO", "  Colombia  "],
["CG", "  Congo  "],
["CK", "  Cook Islands  "],
["CR", "  Costa Rica  "],
["CU", "  Cuba  "],
["CY", "  Cyprus  "],
["CZ", "  Czech Republic  "],
["DK", "  Denmark  "],
["DJ", "  Djibouti  "],
["DO", "  Dominican Republic  "],
["EC", "  Ecuador  "],
["EG", "  Egypt  "],
["SV", "  El Salvador  "],
["EE", "  Estonia  "],
["ET", "  Ethiopia  "],
["FJ", "  Fiji  "],
["FI", "  Finland  "],
["FR", "  France  "],
["GF", "  French Guiana  "],
["GA", "  Gabon  "],
["GM", "  Gambia  "],
["GE", "  Georgia  "],
["DE", "  Germany  "],
["GH", "  Ghana  "],
["GI", "  Gibraltar  "],
["GR", "  Greece  "],
["GD", "  Grenada  "],
["GU", "  Guam  "],
["GT", "  Guatemala  "],
["GN", "  Guinea  "],
["GY", "  Guyana  "],
["HT", "  Haiti  "],
["HN", "  Honduras  "],
["HK", "  Hong Kong  "],
["HU", "  Hungary  "],
["IS", "  Iceland  "],
["IN", "  India  "],
["ID", "  Indonesia  "],
["IR", "  Iran  "],
["IQ", "  Iraq  "],
["IE", "  Ireland  "],
["IL", "  Israel  "],
["IT", "  Italy  "],
["JM", "  Jamaica  "],
["JP", "  Japan  "],
["JO", "  Jordan  "],
["KH", "  Cambodia  "],
["KZ", "  Kazakhstan  "],
["KE", "  Kenya  "],
["KR", "  South Korea  "],
["KW", "  Kuwait  "],
["KG", "  Kyrgyzstan  "],
["LA", "  Laos  "],
["LV", "  Latvia  "],
["LB", "  Lebanon  "],
["LS", "  Lesotho  "],
["LR", "  Liberia  "],
["LY", "  Libya  "],
["LI", "  Liechtenstein  "],
["LT", "  Lithuania  "],
["LU", "  Luxembourg  "],
["MO", "  Macau  "],
["MG", "  Madagascar  "],
["MW", "  Malawi  "],
["MY", "  Malaysia  "],
["MV", "  Maldives  "],
["ML", "  Mali  "],
["MT", "  Malta  "],
["MU", "  Mauritius  "],
["MX", "  Mexico  "],
["MD", "  Moldova  "],
["MC", "  Monaco  "],
["MN", "  Mongolia  "],
["MS", "  Montserrat  "],
["MA", "  Morocco  "],
["MZ", "  Mozambique  "],
["NA", "  Namibia  "],
["NR", "  Nauru  "],
["NP", "  Nepal  "],
["NL", "  Netherlands  "],
["NZ", "  New Zealand  "],
["NI", "  Nicaragua  "],
["NE", "  Niger  "],
["NG", "  Nigeria  "],
["KP", "  North Korea  "],
["NO", "  Norway  "],
["OM", "  Oman  "],
["PK", "  Pakistan  "],
["PA", "  Panama  "],
["PG", "  Papua New Guinea  "],
["PY", "  Paraguay  "],
["PE", "  Peru  "],
["PH", "  Philippines  "],
["PL", "  Poland  "],
["PF", "  French Polynesia  "],
["PT", "  Portugal  "],
["PR", "  Puerto Rico  "],
["QA", "  Qatar  "],
["RO", "  Romania  "],
["RU", "  Russia  "],
["LC", "  Saint Lucia  "],
["VC", "  St. Vincent  "],
["SM", "  San Marino  "],
["ST", "  Sao Tome and Principe  "],
["SA", "  Saudi Arabia  "],
["SN", "  Senegal  "],
["SC", "  Seychelles  "],
["SL", "  Sierra Leone  "],
["SG", "  Singapore  "],
["SK", "  Slovakia  "],
["SI", "  Slovenia  "],
["SB", "  Solomon Islands  "],
["SO", "  Somalia  "],
["ZA", "  South Africa  "],
["ES", "  Spain  "],
["LK", "  Sri Lanka  "],
["SD", "  Sudan  "],
["SR", "  Surinam  "],
["SZ", "  Swaziland  "],
["SE", "  Sweden  "],
["CH", "  Switzerland  "],
["SY", "  Syria  "],
["TW", "  Taiwan  "],
["TJ", "  Tajikistan  "],
["TZ", "  Tanzania  "],
["TH", "  Thailand  "],
["TG", "  Togo  "],
["TO", "  Tonga  "],
["TT", " Trinidad and Tobago  "],
["TN", "  Tunisia  "],
["TR", "  Turkey  "],
["TM", "  Turkmenistan  "],
["UG", "  Uganda  "],
["UA", "  Ukraine  "],
["AE", "  United Arab Emirates  "],
["GB", "  United Kingdom  "],
["US", "  United States  "],
["UY", "  Uruguay  "],
["UZ", "  Uzbekistan  "],
["VE", "  Venezuela  "],
["VN", "  Vietnam  "],
["YE", "  Yemen  "],
["YU", "  Yugoslavia  "],
["ZW", "  Zimbabwe  "],
["ZR", "  Zaire  "],
["ZM", "  Zambia  "]
                      ];

tw

var geolocation= [
["AO", "  Angola  "], 
["AF", "  Afghanistan  "], 
["AL", "  Albania  "], 
["DZ", "  Algeria  "], 
["AD", "  Andorra  "], 
["AI", "  Anguilla  "], 
["AG", "  Antigua and Barbuda  "], 
["AR", "  Argentina  "], 
["AM", "  Armenia  "], 
["AU", "  Australia  "], 
["AT", "  Austria  "], 
["AZ", "  Azerbaijan  "], 
["BS", "  Bahamas  "], 
["BH", "  Bahrain  "], 
["BD", "  Bangladesh  "], 
["BB", "  Barbados  "], 
["BY", "  Belarus  "], 
["BE", "  Belgium  "], 
["BZ", "  Belize  "], 
["BJ", "  Benin  "], 
["BM", "  Bermuda  "], 
["BO", "  Bolivia  "], 
["BW", "  Botswana  "], 
["BR", "  Brazil  "], 
["BN", "  Brunei  "], 
["BG", "  Bulgarian  "], 
["BF", "  Burkina Faso  "], 
["MM", "  Myanmar  "], 
["BI", "  Burundi  "], 
["CM", "  Cameroon  "], 
["CA", "  Canada  "], 
["CF", "  Central African Republic  "], 
["TD", "  Chad  "], 
["CL", "  Chile  "], 
["CN", "  China  "], 
["CO", "  Colombia  "], 
["CG", "  Congo  "], 
["CK", "  Cook Islands  "], 
["CR", "  Costa Rica  "], 
["CU", "  Cuba  "], 
["CY", "  Cyprus  "], 
["CZ", "  Czech Republic  "], 
["DK", "  Denmark  "], 
["DJ", "  Djibouti  "], 
["DO", "  Dominican Republic  "], 
["EC", "  Ecuador  "], 
["EG", "  Egypt  "], 
["SV", "  El Salvador  "], 
["EE", "  Estonia  "], 
["ET", "  Ethiopia  "], 
["FJ", "  Fiji  "], 
["FI", "  Finland  "], 
["FR", "  France  "], 
["GF", "  French Guiana  "], 
["GA", "  Gabon  "], 
["GM", "  Gambia  "], 
["GE", "  Georgia  "], 
["DE", "  Germany  "], 
["GH", "  Ghana  "], 
["GI", "  Gibraltar  "], 
["GR", "  Greece  "], 
["GD", "  Grenada  "], 
["GU", "  Guam  "], 
["GT", "  Guatemala  "], 
["GN", "  Guinea  "], 
["GY", "  Guyana  "], 
["HT", "  Haiti  "], 
["HN", "  Honduras  "], 
["HK", "  Hong Kong  "], 
["HU", "  Hungary  "], 
["IS", "  Iceland  "], 
["IN", "  India  "], 
["ID", "  Indonesia  "], 
["IR", "  Iran  "], 
["IQ", "  Iraq  "], 
["IE", "  Ireland  "], 
["IL", "  Israel  "], 
["IT", "  Italy  "], 
["JM", "  Jamaica  "], 
["JP", "  Japan  "], 
["JO", "  Jordan  "], 
["KH", "  Cambodia  "], 
["KZ", "  Kazakhstan  "], 
["KE", "  Kenya  "], 
["KR", "  South Korea "], 
["KW", "  Kuwait  "], 
["KG", "  Kyrgyzstan  "], 
["LA", "  Laos  "], 
["LV", "  Latvia  "], 
["LB", "  Lebanon  "], 
["LS", "  Lesotho  "], 
["LR", "  Liberia  "], 
["LY", "  Libya  "], 
["LI", "  Liechtenstein  "], 
["LT", "  Lithuania  "], 
["LU", "  Luxembourg  "], 
["MO", "  Macau  "], 
["MG", "  Madagascar  "], 
["MW", "  Malawi  "], 
["MY", "  Malaysia  "], 
["MV", "  Maldives  "], 
["ML", "  Mali  "], 
["MT", "  Malta  "], 
["MU", "  Mauritius  "], 
["MX", "  Mexico  "], 
["MD", "  Moldova  "], 
["MC", "  Monaco  "], 
["MN", "  Mongolia  "], 
["MS", "  Montserrat  "], 
["MA", "  Morocco  "], 
["MZ", "  Mozambique  "], 
["NA", "  Namibia  "], 
["NR", "  Nauru  "], 
["NP", "  Nepal  "], 
["NL", "  Netherlands  "], 
["NZ", "  New Zealand  "], 
["NI", "  Nicaragua  "], 
["NE", "  Niger  "], 
["NG", "  Nigeria  "], 
["KP", "  North Korea  "], 
["NO", "  Norway  "], 
["OM", "  Oman  "], 
["PK", "  Pakistan  "], 
["PA", "  Panama  "], 
["PG", "  Papua New Guinea  "], 
["PY", "  Paraguay  "], 
["PE", "  Peru  "], 
["PH", "  Philippines  "], 
["PL", "  Poland  "], 
["PF", "  French Polynesia  "], 
["PT", "  Portugal  "], 
["PR", "  Puerto Rico  "], 
["QA", "  Qatar  "], 
["RO", "  Romania  "], 
["RU", "  Russia  "], 
["LC", "  Saint Lucia  "], 
["VC", "  St. Vincent  "], 
["SM", "  San Marino  "], 
["ST", "  Sao Tome and Principe  "], 
["SA", "  Saudi Arabia  "], 
["SN", "  Senegal  "], 
["SC", "  Seychelles  "], 
["SL", "  Sierra Leone  "], 
["SG", "  Singapore  "], 
["SK", "  Slovakia  "], 
["SI", "  Slovenia  "], 
["SB", "  Solomon Islands  "], 
["SO", "  Somalia  "], 
["ZA", "  South Africa  "], 
["ES", "  Spain  "], 
["LK", "  Sri Lanka  "], 
["SD", "  Sudan  "], 
["SR", "  Surinam  "], 
["SZ", "  Swaziland  "], 
["SE", "  Sweden  "], 
["CH", "  Switzerland  "], 
["SY", "  Syria  "], 
["TW", "  Taiwan  "], 
["TJ", "  Tajikistan  "], 
["TZ", "  Tanzania  "], 
["TH", "  Thailand  "], 
["TG", "  Togo  "], 
["TO", "  Tonga  "], 
["TT", "  Trinidad and Tobago  "], 
["TN", "  Tunisia  "], 
["TR", "  Turkey  "], 
["TM", "  Turkmenistan  "], 
["UG", "  Uganda  "], 
["UA", "  Ukraine  "], 
["AE", "  United Arab Emirates  "], 
["GB", "  United Kingdom  "], 
["US", "  United States  "], 
["UY", "  Uruguay  "], 
["UZ", "  Uzbekistan  "], 
["VE", "  Venezuela  "], 
["VN", "  Vietnam  "], 
["YE", "  Yemen  "], 
["YU", "  Yugoslavia  "], 
["ZW", "  Zimbabwe  "], 
["ZR", "  Zaire  "], 
["ZM", "  Zambia  "]
                      ];

src

http://www1.jctrans.com/tool/dm.htm

public class GetString {
    public static void main(String[] args) {
        File f = new File("D:/xx.txt");
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new FileReader(f));
        } catch (FileNotFoundException e2) {
            // TODO Auto-generated catch block
            e2.printStackTrace();
        }
        String line;
        try {
            while ((line = reader.readLine()) != null) {
                String[] ss=line.split("\\b");
                System.out.println("[\""+ss[5]+"\", \""+ss[3]+"\"],");
            }
        } catch (IOException e1) {
            e1.printStackTrace();
        }
    }
}
  • del.icio.us
  • StumbleUpon
  • Digg
  • TwitThis
  • Mixx
  • Technorati
  • Facebook
  • NewsVine
  • Reddit
  • Google
  • LinkedIn
  • YahooMyWeb

Related Posts of Js array of countries and regions

  • htmlparser issue of web links

    Using htmlparser parsing url link page, we want to extract links to the specified tab. For example: div under the link, can be achieved through the following code: Parser parser = new Parser(url); NodeFilter nodefilter1=new AndFilter(new TagNameFilte

  • Collection of major blog site

    A Chinese blog network www.blogcn.com China 2 Netease blog blog.163.com China 3 blog blog.china.alibaba.com China Business Network 4 Thunder blog blog.xunlei.com China 5 and News blog blog.hexun.com China 6 Blue Moon blog blog.lanyue.com China 7 Blog ...

  • Capture a number of issues ---- novice Jianzhan Jianzhan detailed tutorial

    A registered domain name First of all registered domain name. Domain Name Registration. Com (international domain name) and. Cn (China domain name) is appropriate, domain name better not be too long, and there is a certain sense, easy to remember, an ...

  • Microsoft to embrace cloud computing Qi Cheng employees engaged in the "cloud" the cause of

    Microsoft (China) Co., Ltd. Platform and Development Cooperation, a senior architecture consultant Fang Guowei introduced Microsoft cloud computing solutions. He said that in the past few decades, IT experienced host, client / server, WEB , Etc. seve ...

  • Struts1 International Summary

    Struts1 International Summary 1, java in the international a) jave to implement the principle of international Locale objects through java or get the current system can specify the default configuration of the international language code and country code,

  • The meaning of commonly used domain name suffixes

    International domain name: . com (commercial organizations),. net (network service),. org (nonprofit organization) com General on behalf of profit-making institutions, such as corporate, edu, said educational institutions cn is the area code, on behalf of

blog comments powered by Disqus
Recent
Recent Entries
Tag Cloud
Random Entries