代码改变世界

随笔档案-2011年08月

C# 获取汉语拼音全码及简码

2011-08-01 16:07 by cpine, 2470 阅读, 收藏,
摘要: public static class SpellCodeHelper { public static string GetChineseSpellCode(string unicodeString) { int i = 0; ushort key = 0; string strRes... 阅读全文

SQL Server 获取汉语拼音简码

2011-08-01 16:05 by cpine, 3252 阅读, 收藏,
摘要: alter FUNCTION FB_GetChineseSpell( @Str varchar ( 500 ) = '' ) RETURNS varchar ( 500 ) as begin declare @strLen i... 阅读全文