Pinyin code in C #

Source: Internet
Author: User
Tags min tostring
Pinyin code of Chinese characters in C #
Datong Yuanda software company Zhang Heping www.ydsoft.com.cn

In C # to take Chinese pinyin code, support numbers, English characters, one-level Chinese characters, two-class Chinese characters


public string Getfirstletter (string Hz)
{

String Ls_second_eng = " Cjwgnspgcgnesypbtyyzdxykygtdjnnjqmbsgzscyjsyyqpgkbzgycywjkgkljswkpjqhytwddzlsgmrypywwcckznkydgttngjeykkzytcjnmcylqlypyqfq Rpzslwbtgkjfyxjwzltbncxjjjjzxdttsqzycdxxhgckbphffsswybgmxlpbylllhlxspzmyjhsojnghdzqyklgjhsgqzhxqgkezzwyscscjxyeyxadzpmdss Mzjzqjyzcdjzwqjbdzbxgznzcpwhkxhqkmwfbpbydtjzzkqhylygxfptyjyyzpszlfchmqshgmxxsxjjsdcsbbqbefsjyhwwgzkpylqbgldlcctnmayddkssn GYCSGXLYZAYBNPTSDKDYLHGYMYLCXPYCJNDQJWXQXFYYFJLEJBZRXCCQWQQSBNKYMGPLBMJRQCFLNYMYQMSQTRBCJTHZTQFRXQ "+
"HXMJJCJLXQGJMSHZKBSWYEMYLTXFSYDSGLYCJQXSJNQBSCTYHBFTDCYZDJWYGHQFRXWCKQKXEBPTLPXJZSRMEBWHJLBJSLYYSMDXLCLQKXLHXJRZJMFQHXHW Ywsbhtrxxglhqhfnmnykldyxzpwlggtmtcfpajjzyljtyanjgbjplqgdzyqyaxbkysecjsznslyzhzxlzcghpxzhznytdsbcjkdlzayfmydlebbgqyzkxgldn Dnyskjshdlyxbcghxypkdjmmzngmmclgwzszxzjfznmlzzthcsydbdllscddnlkjykjsycjlkohqasdknhcsganhdaashtcplcpqybsdmpjlpcjoqlcdhjjys Prchnwjnlhlyyqyywzptczgwwmzffjqqqqyxaclbhkdjxdgmmydjxzllsygxgkjrywzwyclzmssjzldbydcfcxyhlxchyzjqsfqagmnyxpfrkssb "+
"Jlyxysyglnscmhcwwmnzjjlxxhchsydsttxrycyxbyhcsmxjsznpwgpxxtaybgajcxlysdccwzocwkccsbnhcpdyznfcyytyckxkybsqkkytqqxfcwchcyke Lzqbsqyjqcclmthsywhmktlkjlycxwheqqhtqhzpqsqscfymmdmgbwhwlgsslysdlmlxpthmjhwljzyhzjxhtxjlhxrswlwzjcbxmhzqxsdzpmgfcsglsxymj Shxpjxwmyqksmyplrthbxftpmhyxlchlhlzylxgsssstclsldclrpbhzhxyyfhbbgdmycnqqwlqhjjzywjzyejjdhpblqxtqkwhlchqxagtlxljxmslxhtzkz Jecxjcjnmfbycsfywybjzgnysdzsqyrsljpclpwxsdwejbjcbcnaytwgmpapclyqpclzxsbnmsggfnzjjbzsfzyndxhplqkzczwalsbccjxjyzgwkyp "+
"SGXFZFCDKHJGXDLQFSGDSLQWZKXTMHSBGZMJZRGLYJBPMLMSXLZJQQHZYJCZYDJWBMJKLDDPMJEGXYHYLXHLQYQHKYCWCJMYYXNATJHYCCXZPCQLBZWWYTWB Qcmlpmyrjcccxfpznzzljplxxyztzlgdldcklyrzzgqtgjhhhjljaxfgfjzslcfdqzlclgjdjcsnclljpjqdcclcjxmyzftsxgcgsbrzxjqqctzhgyqtjqqlz Xjylylbcyamcstylpdjbyregklzyzhlyszqlznwczcllwjqjjjkdgjzolbbzppglghtgzxyghzmycnqsycyhbhgxkamtxyxnbskyzzgjzlqjdfcjxdygjqjjp Mgwgjjjpkqsbgbmmcjssclpqpdxcdyykyfcjddyygywrhjrtgznyqldkljszzgzqzjgdykshpzmtlcpwnjafyzdjcnmwescyglbtzcgmssllyxqsxsbsjs "+
"Bbsgghfjlwpmzjnlyywdqshzxtyywhmcyhywdbxbtlmsyyyfsxjcsdxxlhjhfssxzqhfzmzcztqcxzxrttdjhnnyzqqmnqdmmgyydxmjgdhcdyzbffallztd Ltfxmxqzdngwqdbdczjdxbzgsqqddjcmbkzffxmkdmdsyyszcmljdsynsprskmkmpcklgdbqtfzswtfgglyplljzhgjjgypzltcsmcnbtjbqfkthbyzgkpbby Mttssxtbnpdkleycjnycdykzddhqhsdzsctarlltkzlgecllkjlqjaqnbdkkghpjtzqksecshalqfmmgjnlyjbbtmlyzxdcjpldlpcqdhzycbzsczbzmsljfl Krzjsnfrgjhxpdhyjybzgdlqcsezgxlblgyxtwmabchecmwyjyzlljjyhlgbdjlslygkdzpzxjyyzlwcxszfgwyydlyhcljscmbjhblyzlycblydpdqysxqzb "+
"Ytdkyxjyycnrjmdjgklcljbctbjddbblblczqrpxjcglzcshltoljnmdddlngkaqhqhjgykheznmshrphqqjchgmfprxhjgdychghlyrzqlcyqjnzsqtkqjy Mszswlcfqqqxyfggyptqwlmcrnfkkfsyylqbmqammmyxctpshcptxxzzsmphpshmclmldqfyqxszyjdjjzzhqpdszglstjbckbxyqzjsgpsxqzqzrqtbdkyxz khhgflbcsmdldgdzdblzyycxnncsybzbfglzzxswmsccmqnjqsbdqsjtxxmbltxzclzshzcxrqjgjylxzfjphymzqqydfqjjlzznzjcdgzygctxmzysctlkph Txhtlbjxjlxscdqxcbbtjfqzfsltjbtkqbxxjjljchczdbzjdczjdcprnpqcjpfczlclzxzdmxmphjsgzgszzqjylwtjpfsyasmcjbtzkycwmytcsjjljcqlw ZM "+
"ALBXYFBPNLSFHTGJWEJJXXGLLJSTGSHJQLZFKCGNNDSZFDEQFHBSAQTGLLBXMMYGSZLDYDQMJJRGBJTKGDHGKBLQKBDMBYLXWCXYTTYBKMRTJZXQJBHLMHMJ Jzmqasldcyxyqdlqcafywyxqhz ";
String ls_second_ch = "Chu Wu Beggar 50 Pi Cheng Bronze, yu in heart dagger Torr Yao Yao zhiyan di fontanel zhongkui yu 鼗, urgent" +
"Wood 亓芈孛 sik gu qi she cuo 厣 Jue he nightmare pseudo 匚 居心叵測 匦 gui plaque an gua 卣 刂 mowing throat manipulate router 刿 Kelly 剞 Yan Fenghua 剽 something bad behind spayed 劐 劓 冂 Would you Ding Zhang le the beefy mulao ren slouching 仳 carisolv pins XLR Yau Lee 佟佗 Trinity Gamma Grandpro 佴 his kua kan Jurassic yi tiao friend Jiao Lennon cease couple Yan Li Qiu Minamata the Terracotta Warriors as soon as the pension is MG petaline shu choice The Luo 倜, centralized 倨 the 儇 儋 Tong Diving 佘佥 zu 龠 boil buy 馘 冁 fu early 勹 prostrated yan bo gun roar profane serpiginous 兕 to win and lighten expanse, diced graves, 裒 冫, 冱 Shing, Don Quixote 讦 Zhao 讧 讴 ju 诖-诙 shenshen Inquiry Quan sunfaith buffoonery lively 诮 exaggeration Suwa 诼 shifted flattery recite Chan 谇 Anthony Banter The 谔 of the well-to-be-to-the-to-be "+
"Po xing Baby zhi 陧 Zou Trachimbrod 陴 Wei Huang Kui 隰 邗 qiong 邝邙邬 邡 Bing pei di 邶 ye 邰郏郅 Zhu Li Ying Gao Kuai Tan Priory 郓 郗郛郫 above all Shanshan non-segmental 鄢鄞鄣 poyang i 鄹 Ling Feng 劬 shultiess The old man sop 劾 foretelling Lanxu Dang 鬯 hilt Benten 畚 mercapto Ben Chalky-墼-injure--zhen Kuang 圯 Li--anti-goblets-loessial-Bache--Islet-mu-die--Kaew-yan-jiong-埘-Guo KU battlements 堙 leng hou 塥 yuan Mildew reappears Liang 墀, Yi 鼙 Qiu 艹 grandmother Qian du ji xiong 芄 dioxins fern Brassica vespasian fu ji descurainiae lettuce pyrene acenaphthene Rei qin zhi qi 苁 benzyl 芟 zhuxi glucoside 芤 苤 long longum ju muyeli Yara Fu Ling Tsutaichi indanone Mao Ying solitary 苠 荛 and cubeb zi ju garland anise ting aniseeds Estates Jordan Fu Ebara The 荀茗 茺 of the 茳 Luo Ying nettle-荩-Lactuca sun Hongyexintong 荮 camphene Dill 荸 "+
"Xin Wan Ying Ulva phthalocyanine thlaspi-萋-Sunn-chang-Jiaweizhiyu, Huanxiangwa kind bi 菔 xuantu 萏-Extract and Potamogeton crispus L--------------------Mohan 蒡 Jianjia fissa 蒗 hongying 蓣 su 甍 stump 蓰 cayratia 蔺蕖 limmeridge 蕞 ji 瞢 qi lihong, Xiebai, 薨, Ung,, weeds tillers 薷, Ligustilide 蘧, Heng, Fanyi Hydroxyindole and 廾 Palpable Tuan 拊 Cambridge 拶 Hampshire 掭 Tuck slap 掎 捭 Handful shouldered whipped 揲 wider press 揠 quizzically 揞 off Xuan Coyett rafter over to 摅 bosom Jian very did out the stack Agnes the shoving fold 撄 qian and roll 撺 grasping 攮 Yi-yi, and the upbraid to kill the boo-ho-yo-ya-ya-ah-ya-click--------------Kuai---------吣------------------ "+
"Mi nacha 哝 哏 moo-ho-Showers suona Zao-------------唪------------------" 啁 Tao the Frets swish sip the Jiejie mutters Gee Chirp Aphonia 啻, sigh Oh, Bill, and Kuch you know, you know, you know, you know, you know, 嗌, fast Sulphon, Hey Tong joyriding bridle, Allopurinol, psssssssssssst, boom, puff, pout, suck Boingo, ooh, mumble, 嗾, 噍, 嚆, Cha-ho, 噤 amusing aye, chatteration-Germany-nam prisons-da Dun, prisons-圄 圊 圉 Ms Elaine 帷幄 Mantle building 幞 streamer Ji qi 岍 qi rough ya suiping xian ao Zeng basha hu argumentative Cape Xiu Dai Dong Mao gosausee min Tong le jiao Rocks Lao Zheng Song Lai Gu yan Yao Kong rong Guo yuanping Yao Xian yu wei cuo person 嵫 mei Song Ridge Peaks Sheng Clenbuterol Dadeng The summit we were as 徂 sacrifice ignoring after a Leica 徜, 徭 total self abandonment, 彡, Ahohite, 犴 犷 狃, 狁 Roe geladas marmosets 狯 to 狲 quod, and upright to 猁 狳 猃 to growled, to have a "+
"The chiselled were 夂 cannibals táng chaos 饩 cooking filled onto Yi rates 饽 馄 zha famine San cuisine naan 庀 Wu 庋 Hotel Xiu Xiang man tuo 庳 to 赓 ao 廑 Chan 廨 Lin Weiyin 忉 repentance habits gastro 忮 fear thumping tantric hurry computers 怩 怫 怊 yiwen Pleasant mourning 恹 ce Kay Xun Yun frightened 悝 sleepy sad 悛 relaxation survivors confucious breath bewildered control indistinct-weary Bland offers Yie Jake 愀 resume su regret careless anxiety Threshold Changxu Eris Learn am 阏 阒 tie down 阙阚丬 kills his valves 氵 cars 汜 chaotic mi gu bian Kang Wei James Taylor-ling gan scenes polydimethylsiloxane Mao (Lok--da-ling Checkout, Huan Liu Hu Xun 洳 su Wu Lai Wei Zhuo Shui Juan Cen Bang 浠 Innocent Wan Qi song du Zhuo pishihang 渑 gan Fei Chung Yuen Shenyang 涫 Lu liling shabu zaoshi hydropower same shade jogging Deutzia Huang 溆 pen 湔 Zhen Yan 溘 She 漭 pu Li 滢 sapping "+
"Ming Huang Ying 漤 cao Niigata Luo indecipherable lian Zhu Xuan gan 澍 heathy 潸 hogwash moisten sui Ho Zhuo Han weather ying Lian 濮濞 hao 瀣 yue 瀵 ba coinage and nonporous mi ning the of Atlas Qian Gad 迨 aeroplane 逄逋逦 Alex Xiao She undercover Kuimo blame Lu Trent 逭 ya yiqiu China materialia walk Siem Reap 遘 sloppy Lin 邂 coma Miao distant kao 彐 彖 grunter The 咫 clog attached undercover crossbows 屣 sandals the Astoria 弪 Princess Yan bridged 艴 Yuzi 屮 sister 妁 Hsueh si siphoning shan concubine ya Rao girls paragraph jiao meteorological Cha ideal note wa xian suo di 娓 ada jing She jie prostitutes maid the ao Yuan Ting beauteous seduced Semo protected ai wives 媸 yan 嫠 ohauncey! hem 嫘 Jang mi favorite subjects compensations Reverend Widows GA 尜 Huafu Other model fruits larvae consort Zou crossbow aweary xiao Hua 骒 骓 骖 stallion wu AO Liu gelding Puma Cong 骣 longchamp 纟 Zhou 纥 pi 纨 texture size crepe reins 绂 quilted 绋 绔 绠 damask-Fei burnt-out ti fashionable can go lock fusiform Wan Shou curled call "+
"Twips indistinct multicolored 缌 缏 缑 lowered path Jinyun 缜 mantra 缡 constricted 缣 plantronics ectoplasms pitch Miu Yi enjoyed bridle Zeng loving felling 缳, 缵-巛-Min-Odin ' Porphyrite---------Hu Kun Yan Cong wan Shing yuan flaw Nowshera ai 瑭 Jin Juan Ying Museum Ms. Clever Xuan Zhang Pu ladies 璩 lu bi zan 璺 韪 韫 tao Wu scoop qi ma stable dipy end Yao 枘 jian pestle cheng Fir Owl Fang loquat tochinami nai Zong zhe weilong bier Ping coggygria 柙 枵 pomelo Zhi zhi eurya girder 柽 Kaolao Branch radial carry Frame Guang Alder Stiles trichosanthes 桕 Birch Truss 栾桊桉 Xu van braces raft Jue zi 桫 lattice apples casket 椠 Zhao Luo Starling hammer coffin the 楗 楱 the Shen of it zha the oar the fascia and the Torreya, the GAO 榱 magazine Lance Penang Ficus sphene Jin Qiang maple Ailanthus tang enshrined the Tangyue 檠 Ligularia The chunks, 檎, oars, 樨, 檑, Purlin, dead, cu Xintian funeral 殄 Meteor 殍 Anecdote "+
"Chang 轷 squeaked 轺 轼 轾 辁 lu y happy and resounds 軎, 戋, Ji, 戡, 戤, and Jian, jianling,, Finish, 甏 甓, 攴, 旰-Gao, Xu, Jackson, and Yun GUI tonyuquq huangyun 贳 贶 mussel zhi wealth gai 赆 lai 赇 赍 danfo 赙 觇 Exploit wizard 觌 involved kun qu ax 牝鷄 yak worldview Gustave 犄 ju 犏 di soldier pull out Casa guards oldest 毪 Vellus Tritium Radon Argon Magic emanation Krypton the file 敫 slips dispatch 牖 invoking Guo 刖 oxime 肜 blind hydrazine peptide humeral gizzard 肭 肷 Dim peptone Policeman was stationed Lu 胛 胄 guanidine 胙 gizzards qu callosum yan trunks kuai osazone i phenylhydroxylamine dolphin callosum acetamiprid 脶 abscess urea nitrile noodle doesn't stoutness tendon 腠 belly 腼 腽 palatal concubine diaphragm brawn patellar Teng heave Meng Mutton phlc phosphine 欤 欷 欹 歃 Xin Xi Squall sa jdk a surge 殳 the hub 觳 netherfield 齑 lan 旆 yak Chandragupta sparkle ni full energy 旖 Yang Wei stew soy stoneware 烀 moxa hyun soot ye molten-based warmed enthalpy Braised Yan "+
"Hu Yu simmering calcined Xuan Stir tui leavened celebrate entropy ironing Yi Sultry burnt carry flintlocks 燹 爝 Cuan know 焘 Xu Xi scoop 扃 扈扉 礻 worship Zoroastrianism Zhi Dispel hu 祓 Zuo you only temple zhen Tiu Chi Chan 禊 禚 Jubilee cross-section Prophecymusic 忐 frontline impassible angry 恧 nen chigger athwart the trespass min te resting 憝 melancholy stupid 肀 pei 泶 Miao rock gangue wangshitang 砉 Tridacna updated Nga hacking bian sulfone 砝 astatine Rough ballast concrete grinding 砩 xing 硭 kip Qiaoqi Zhai ammoniae luo i di Pei anchorage walks 碡 Jie tellurium crown 碥 zhe gun He ping chime Tridacna stone Block Deng 礓 ca mineral Bojin Niche Needlework 黻 黼 盱 眄 眍 nap Miao 眈 眚 眢 眙 眭眦眵 mou eye eyes 睃 Jairus spoke sui 睥 core 瞍 睽 Budget Mind Benders Meditation shoddy merchandizing clodronic, gu-cho let 畎 畋 the y ' an-y Zhen Chiu ruthenium thorium Kushiro samarium mendelevium-nd-plutonium titanium Heavy sheet metal francium scandium'll holmium Palladium Zheng Co cb promethium Plutonium cymbals Tomahawk Molybdenum tantalum dian Mingshuo CE-tl Bismuth niobium---------- 铴 ammonium rubidium lawrencium rhenium "+
"Terbium Keng 锃 Lithium zirconium osmium 锊 matte californium Mace end up bending their heads 锖 nobelium Adze kua 锟 occluded to Berkelium 锩 锬 zi Shan wedge kailian 锷 Its utensils sou fines einsteinium clang to be 镄 to the hi neptunium lutetium a upsetting lanthanum praseodymium 镩 offerings stirrup bracelet ytterbium cymbals Bodyguard Chung Yahagi dwarfish pheasant blighted 秭 mo shu 稆 嵇稃稂 nim ke zhen 穑------rang--------converted- Emu 鹌 Bulbul Quail 鹕 e Luci babbler Mo Harrier 鹣 Ying Partridge pipit wrens Prinia The Snipe cahow the Stork non-epileptic seizure boil the pandora of the hernia 疬 the rickets drochs jaundice 痄 blister 疰 痃 scab 痖 bruise nevus tuberculosis 痦 eclampsia measles 瘃 flames 痼 syndrome 瘐 瘅 ban barren Xinhuang 瘭 scrofulous Gall 瘵 qianlongtong addiction Alyoshka macula Leprosy hysteria Crazy epilepsy 癯 Yi song 穸 dome 窀 窆 Slim sinus nest 窬 scenting difficult yu 衤 panties patchwork Overlapping part Jin Mei crotch mark eligible for Ken Walks 裎 裣 The train 褚裼裨 piecemeal girdle nurse jacket 褙 褊 Rags pleated 褫 襁 Pi Xu 皲 chapped rthk Lei "+
"耔 Chao si 耠 耢 weeding coupling columbine gou 耨 耱 耋 耵 dan 聍 grumbles 聩 聱 覃顸颀 颃 jaw chin Chin jaw jie temporal zhuan sang 颟 hao frown 颥-Qiu-虍 虮 虿-adder-蚯 flying razor clam hydatid Meconematidae 蛲 vermiculite cockles 蛐 dragonfly 蛞 蛴 jiao Ant 蛑--Wuzhizhou-li Rushan toads-mayfly--Dragonflies-utilizationand Wedelia-蜮-tick-蜾-蝈-beetle lizards bug 蜩 winds bat 蜢 salamanders nargles Viperidae tadpole deinagkistrodon earwigs slugs 蝣 being caged counter 蝤 mite python toad Bian Chi 螗 jiseok sting 蟥 螬 ladybugs Gladiators Cricket shield bugs Conocephalidae cockroach Jinshuai 蟊 wedelia 蟪 pan eel with extracted midges toad minute Fly and Beetle earwigs fou poppy to be licked Chong hairpin impressive wat joys Qiongzhuea Tumidinoda sheng 笸 da don 笮 satisfaction Trunk 笤 Thrill Reed 笾 caning shao Xiao jing ze suitcase Zhu Ruo sheath sisters khon Yuan Xiao Prov 篑 huang lll gou 篚 tartar grate 篪 Celestial Bamboo carriers 簏 Duan Guijie Dian hairpin 簦 Zhou Yu Pingyi xi nan Yu Chung slipper stench nvxue sampan Nautilus 舣 to be a sampan bilge ge hygiene 舳 舴 艨 Quilt Niao Hygiene Chuyang 羝 Hydroxy "+
"Carboxyl Capricorn XI indica 敉 DCB Harsh properties Air rice 粢 woolly lin dumpling grits 糇 糌 Rice 糈 Leelawadee embarrassed 糨 gen and Yi Ling 翕 Zhu Calamus 絷 Ziqi one Susan 繇 tents bran yeast Takeo stall stumbled mouthful 趱 shyness ochre 豇 soy tincture anhydride * restricted an elixir 酤 sorrel blushed acyl ester yan 酾 arouse 酴 Sprinkle quinone grains 醐 shoppes 醑 醢 sugar mash 醭 醵 liquan 豕 鹾 跫 chi, stand eaves, why 趿 趼 immigrations, and stumbled 跞 wasting--------A-a-跏 Pacing the 蹁 ravaged NIE 蹒 groin 蹰 fujue webbed 蹯 躅 躏 躔 躐 bounced 躞 zhi marten mo Xiu ghpd Inspector 觖 goblets gu mouth 觥 觫 have a 觯 訾謦靓 and then 雩 to be held to be held June Guanju Luo Gui luan 鋈 鍪 netural gilt 鐾 xin Squid dory wahoo Flounder Catfish Bass Jesus 鲋 horseshoe salmon 鲒 tuna oolitic ectenes mackerel svm sturgeon choke silver carp booby-cobia shark gun crucian carp mackerel carp rendahli herring minnows kun brachypomum xenocypris catfish seabream pinchonii mullet halibut 鲺 鳆 Bream 鳋 ao fin sole widowed ray 鳓 Swimbladder "+
"Cod eel cod bighead siniperca eel trout snakehead Chan martingale dal 鞒 harness 鞯 queue tanning 鞲鞴 骱 dice skull Uighur sacral epiphyseal iliac condyle 髀 crossbones iliac hip patellar reliquary charm 魃 smile Pixy 魈 魍 魑 Contentment voracious gourmands 饔 髟 chunyu quiff Beard 髫 bun moustache with curly 鬏 sideburns make matters worse 麾 Jimi Moose Yee Dzavid Musk-麈 鏖 abolishing-sweetness-yi Tattoo 黢 Dim 黩 Ferret Mucuna Mole 黪 're snore gliders";
byte[] array = new byte [2];

String return_py = "";
for (int i=0;i{
Array = System.Text.Encoding.Default.GetBytes (Hz[i]. ToString ());
if (array[0]<176)//. Non-Chinese characters
{
Return_py + = Hz[i];
}
else if (array[0]>=176 && array[0]<=215)//first-level Chinese characters
{

if (hz[i). ToString (). CompareTo ("Turn") >=0)
Return_py + = "Z";
else if (hz[i). ToString (). CompareTo ("pressure") >=0)
Return_py + = "Y";
else if (hz[i). ToString (). CompareTo ("Shake") >=0)
Return_py + + "X";
else if (hz[i). ToString (). CompareTo ("Dig") >=0)
Return_py + = "W";
else if (hz[i). ToString (). CompareTo ("collapse") >=0)
Return_py + = "T";
else if (hz[i). ToString (). CompareTo ("Zacchaeus") >=0)
Return_py + = "s";
else if (hz[i). ToString (). CompareTo ("yes") >=0)
Return_py + = "R";
else if (hz[i). ToString (). CompareTo ("period") >=0)
Return_py + + "q";
else if (hz[i). ToString (). CompareTo ("Pa") >=0)
Return_py + = "P";
else if (hz[i). ToString (). CompareTo ("Oh") >=0)
Return_py + = "O";
else if (hz[i). ToString (). CompareTo ("take") >=0)
Return_py + = "n";
else if (hz[i). ToString (). CompareTo ("Ma") >=0)
Return_py + = "M";
else if (hz[i). ToString (). CompareTo ("garbage") >=0)
Return_py + + "L";
else if (hz[i). ToString (). CompareTo ("Kerala") >=0)
Return_py + + "K";
else if (hz[i). ToString (). CompareTo ("hit") >=0)
Return_py + + "J";
else if (hz[i). ToString (). CompareTo ("Ha") >=0)
Return_py + + "h";
else if (hz[i). ToString (). CompareTo ("Karma") >=0)
Return_py + + "G";
else if (hz[i). ToString (). CompareTo ("FA") >=0)
Return_py + + "F";
else if (hz[i). ToString (). CompareTo ("moth") >=0)
Return_py + + "E";
else if (hz[i). ToString (). CompareTo ("lap") >=0)
Return_py + + "D";
else if (hz[i). ToString (). CompareTo ("wipe") >=0)
Return_py + = "C";
else if (hz[i). ToString (). CompareTo ("ba") >=0)
Return_py + = "B";
else if (hz[i). ToString (). CompareTo ("Ah") >=0)
Return_py + = "a";
}
else if (array[0]>=215)//Level two Chinese characters
{
Return_py + = Ls_second_eng. Substring (ls_second_ch. IndexOf (Hz[i]. ToString (), 0), 1);
}
}
Return return_py. ToUpper ();
}


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.