1. 56个民族的字符串
汉族
壮族
满族
回族
苗族
维吾尔族
彝族
土家族
蒙古族
藏族
布依族
侗族
瑶族
朝鲜族
白族
哈尼族
黎族
哈萨克族
傣族
畲族
傈僳族
仡佬族
拉祜族
东乡族
佤族
水族
纳西族
羌族
土族
锡伯族
仫佬族
柯尔克孜族
达斡尔族
景颇族
撒拉族
布朗族
毛南族
塔吉克族
普米族
阿昌族
怒族
鄂温克族
京族
基诺族
德昂族
乌孜别克族
俄罗斯族
裕固族
保安族
门巴族
鄂伦春族
独龙族
塔塔尔族
赫哲族
高山族
珞巴族
2. 可用作字典转换的56个民族
function a() {
switch (s) {
case "01":
result = "汉族";
break;
case "02":
result = "壮族";
break;
case "03":
result = "满族";
break;
case "04":
result = "回族";
break;
case "05":
result = "苗族";
break;
case "06":
result = "维吾尔族";
break;
case "07":
result = "彝族";
break;
case "08":
result = "土家族";
break;
case "09":
result = "蒙古族";
break;
case "10":
result = "藏族";
break;
case "11":
result = "布依族";
break;
case "12":
result = "侗族";
break;
case "13":
result = "瑶族";
break;
case "14":
result = "朝鲜族";
break;
case "15":
result = "白族";
break;
case "16":
result = "哈尼族";
break;
case "17":
result = "黎族";
break;
case "18":
result = "哈萨克族";
break;
case "19":
result = "傣族";
break;
case "20":
result = "畲族";
break;
case "21":
result = "傈僳族";
break;
case "22":
result = "仡佬族";
break;
case "23":
result = "拉祜族";
break;
case "24":
result = "东乡族";
break;
case "25":
result = "佤族";
break;
case "26":
result = "水族";
break;
case "27":
result = "纳西族";
break;
case "28":
result = "羌族";
break;
case "29":
result = "土族";
break;
case "30":
result = "锡伯 族";
break;
case "31":
result = "仫佬族";
break;
case "32":
result = "柯尔克孜族";
break;
case "33":
result = "达斡尔族";
break;
case "34":
result = "景颇族";
break;
case "35":
result = "撒拉族";
break;
case "36":
result = "布朗族";
break;
case "37":
result = "毛南族";
break;
case "38":
result = "塔吉克族";
break;
case "39":
result = "普米族";
break;
case "40":
result = "阿昌族";
break;
case "41":
result = "怒族";
break;
case "42":
result = "鄂温克族";
break;
case "43":
result = "京族";
break;
case "44":
result = "基诺族";
break;
case "45":
result = "德昂族";
break;
case "46":
result = "乌孜别克族";
break;
case "47":
result = "俄罗斯族";
break;
case "48":
result = "裕固族";
break;
case "49":
result = "保安族";
break;
case "50":
result = "门巴族";
break;
case "51":
result = "鄂伦春族";
break;
case "52":
result = "独龙族";
break;
case "53":
result = "塔塔尔族";
break;
case "54":
result = "赫哲族";
break;
case "55":
result = "高山族";
break;
case "56":
result = "珞巴族";
break;
}
}
3. 数组形式的 56个民族
let mes=[
"汉族","壮族","满族","回族",
"苗族","维吾尔族","彝族","土家族",
"蒙古族","藏族","布依族","侗族",
"瑶族","朝鲜族","白族","哈尼族",
"黎族","哈萨克族","傣族","畲族",
"傈僳族","仡佬族","拉祜族","东乡族",
"佤族","水族","纳西族","羌族",
"土族","锡伯族","仫佬族","柯尔克孜族",
"达斡尔族","景颇族","撒拉族","布朗族",
"毛南族","塔吉克族","普米族","阿昌族",
"怒族","鄂温克族","京族","基诺族",
"德昂族","乌孜别克族","俄罗斯族",
"裕固族","保安族","门巴族","鄂伦春族",
"独龙族","塔塔尔族","赫哲族","高山族","珞巴族"
]
4. 特殊形式的=形式的 56个民族
"01=汉族,02=壮族,03=满族,04=回族,05=苗族,
06=维吾尔族,07=彝族,08=土家族,09=蒙古族,10=藏族,
11=布依族,12=侗族,13=瑶族,14=朝鲜族,15=白族,
16=哈尼族,17=黎族,18=哈萨克族,19=傣族,20=畲族,
21=傈僳族,22=仡佬族,23=拉祜族,24=东乡族,25=佤族,
26=水族,27=纳西族,28=羌族,29=土族,30=锡伯族,
31=仫佬族,32=柯尔克孜族,33=达斡尔族,34=景颇族,35=撒拉族,
36=布朗族,37=毛南族,38=塔吉克族,39=普米族,40=阿昌族,
41=怒族,42=鄂温克族,43=京族,44=基诺族,45=德昂族,
46=乌孜别克族,47=俄罗斯族,48=裕固族,49=保安族,50=门巴族,
51=鄂伦春族,52=独龙族,53=塔塔尔族,54=赫哲族,55=高山族,
56=珞巴族"
如果不要等号的话 可以ctrl+f 结合 ctrl+h 把= 替换成你所要的符号
|