漢字轉拼音首字母

2021-04-29 15:56:36 字數 1209 閱讀 2630

public   string   hz2py(string   hz)     //獲得漢字的區位碼  

else   if(tmp>=45253&&tmp<=45760)  

else   if(tmp>=47761&&tmp<=46317)  

else   if(tmp>=46318&&tmp<=46825)  

else   if(tmp>=46826&&tmp<=47009)  

else   if(tmp>=47010&&tmp<=47296)  

else   if(tmp>=47297&&tmp<=47613)  

else   if(tmp>=47614&&tmp<=48118)  

else   if(tmp>=48119&&tmp<=49061)  

else   if(tmp>=49062&&tmp<=49323)  

else   if(tmp>=49324&&tmp<=49895)  

else   if(tmp>=49896&&tmp<=50370)  

else   if(tmp>=50371&&tmp<=50613)  

else   if(tmp>=50614&&tmp<=50621)  

else   if(tmp>=50622&&tmp<=50905)  

else   if(tmp>=50906&&tmp<=51386)  

else   if(tmp>=51387&&tmp<=51445)  

else   if(tmp>=51446&&tmp<=52217)  

else   if(tmp>=52218&&tmp<=52697)  

else   if(tmp>=52698&&tmp<=52979)  

else   if(tmp>=52980&&tmp<=53640)  

else   if(tmp>=53689&&tmp<=54480)  

else   if(tmp>=54481&&tmp<=55289)  

return   getpychar;  

}  

else  

}  

public   string   transpy(string   strhz)     //把漢字字串轉換成拼音碼  

return   strtemp;  

}  

漢字轉拼音或轉拼音首字母

漢字轉拼音或轉拼音首字母 public class chinesetospell private static string pyname new string 把漢字轉換成拼音 全拼 漢字字串 轉換後的拼音 全拼 字串 public static string characterconvertst...

漢字轉拼音或轉拼音首字母

漢字轉拼音或轉拼音首字母 public class chinesetospell private static string pyname new string 把漢字轉換成拼音 全拼 漢字字串 轉換後的拼音 全拼 字串 public static string characterconvertst...

MySql 漢字轉拼音首字母

delimiter use test drop function if exists getpy create definer hjd function getpy in string varchar 21845 returns varchar 21845 charset utf8 begin 擷取...