ctrycodes2
switch %s | afghanistan => af, algeria => dz, americansamoa => as, andorra => ad, angola => ao, anguilla => ai, antiguaandbarbuda => ag, argentina => ar, armenia => am, australia => au, austria => at, azerbaijan => az, bahamas => bs, bahrain => bh, bangladesh => bd, belarus => by, belgium => be, belize => bz, benin => bj, bolivia => bo, bosniaandherzegovina => ba, botswana => bw, brazil => br, bruneidarussalam => bn, bulgaria => bg, burkinafaso => bf, burundi => bi, cambodia => kh, cameroon => cm, canada => ca, centralafricanrepublic => cf, chile => cl, china => cn, colombia => co, congo => cg, congodemocraticrepublic => cd, cookislands => ck, costarica => cr, côted'ivoire => ci, croatia => hr, cuba => cu, cyprus => cy, czechrepublic => cz, denmark => dk, djibouti => dj, dominica => dm, dominicanrepublic => do, ecuador => ec, egypt => eg, salvador => sv, estonia => ee, ethiopia => et, fiji => fj, finland => fi, france => fr, frenchguiana => gf, gabon => ga, gambia => gm, georgia => ge, germany => de, ghana => gh, gibraltar => gi, greece => gr, greenland => gl, grenada => gd, guadeloupe => gp, guatemala => gt, guernsey => gg, guyana => gy, haiti => ht, heardislandandmcdonaldislands => hm, honduras => hn, hongkong => hk, hungary => hu, iceland => is, india => in, indonesia => id, ireland => ie, isleofman => im, israel => il, italy => it, jamaica => jm, japan => jp, jersey => je, jordan => jo, kazakhstan => kz, kenya => ke, kiribati => ki, southkorea => kr, kuwait => kw, kyrgyzstan => kg, laos => la, latvia => lv, lebanon => lb, libya => ly, liechtenstein => li, lithuania => lt, luxembourg => lu, macedonia => mk, madagascar => mg, malawi => mw, malaysia => my, maldives => mv, mali => ml, malta => mt, mauritius => mu, mexico => mx, micronesia => fm, moldova => md, mongolia => mn, montenegro => me, montserrat => ms, morocco => ma, mozambique => mz, namibia => na, nauru => nr, nepal => np, netherlands => nl, newzealand => nz, nicaragua => ni, niger => ne, nigeria => ng, niue => nu, norfolkisland => nf, norway => no, oman => om, pakistan => pk, palestinianterritory => ps, panama => pa, paraguay => py, peru => pe, philippines => ph, pitcairn => pn, poland => pl, portugal => pt, puertorico => pr, qatar => qa, réunion => re, romania => ro, russia => ru, rwanda => rw, sainthelena => sh, saintlucia => lc, saintvincentandthegrenadines => vc, samoa => ws, sanmarino => sm, saotomeandprincipe => st, saudiarabia => sa, senegal => sn, serbia => rs, seychelles => sc, sierraleone => sl, singapore => sg, slovakia => sk, slovenia => si, solomonislands => sb, southafrica => za, southgeorgiaandthesouthsandwichislands => gs, spain => es, srilanka => lk, suriname => sr, sweden => se, switzerland => ch, taiwan => tw, tajikistan => tj, tanzania => tz, thailand => th, timor-leste => tl, togo => tg, tokelau => tk, tonga => to, trinidadandtobago => tt, tunisia => tn, turkey => tr, turkmenistan => tm, tuvalu => tv, uganda => ug, ukraine => ua, unitedarabemirates => ae, unitedkingdom => uk, unitedstates => us, uruguay => uy, uzbekistan => uz, vanuatu => vu, venezuela => ve, vietnam => vn, britishvirginislands => vg, u.s.virginislands => vi, zambia => zm, zimbabwe => zw,
DESCRIPTION
This is another version of iso-countrycodes. I needed country names without spaces.
EXAMPLE
ctrycodes2 unitedkingdom -> uk
instead of united kingdom
AUTHOR
Luis Gabriel Matallana Valleo <luisgmatallan@gmail.com>
91 uses
-
Created 2010-05-29 23:23:04
-
Last used
2011-07-18 14:19:18