会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
怎能笑的私藏(藏什么呀?还没有想好,乱堆!)
————怎能笑
首页
新随笔
联系
订阅
管理
公告
2006年9月14日
转换字符串中汉字为其拼音缩写(C#)
摘要: //将指定字符串中的汉字转换为拼音缩写,其中非汉字保留为原字符。 public string GetPinYin(string text) { char pinyin; byte[] array; System.Text.StringBuilder sb = new System.Text.StringBuilder(text.Length); foreach(char c...
阅读全文
posted @ 2006-09-14 11:32 怎能笑的私藏(藏什么呀?还没有想好,乱堆!)
阅读(259)
评论(0)
推荐(0)
编辑