asp汉字首字母转拼音
来源:互联网 发布:上海电影频道直播软件 编辑:程序博客网 时间:2024/04/29 22:22
function getpychar(char)
dim tmpp:tmpp=65536+asc(char)
if(tmpp>=45217 and tmpp<=45252) then
getpychar= "A"
elseif(tmpp>=45253 and tmpp<=45760) then
getpychar= "B"
elseif(tmpp>=45761 and tmpp<=46317) then
getpychar= "C"
elseif(tmpp>=46318 and tmpp<=46825) then
getpychar= "D"
elseif(tmpp>=46826 and tmpp<=47009) then
getpychar= "E"
elseif(tmpp>=47010 and tmpp<=47296) then
getpychar= "F"
elseif(tmpp>=47297 and tmpp<=47613) then
getpychar= "G"
elseif(tmpp>=47614 and tmpp<=48118) then
getpychar= "H"
elseif(tmpp>=48119 and tmpp<=49061) then
getpychar= "J"
elseif(tmpp>=49062 and tmpp<=49323) then
getpychar= "K"
elseif(tmpp>=49324 and tmpp<=49895) then
getpychar= "L"
elseif(tmpp>=49896 and tmpp<=50370) then
getpychar= "M"
elseif(tmpp>=50371 and tmpp<=50613) then
getpychar= "N"
elseif(tmpp>=50614 and tmpp<=50621) then
getpychar= "O"
elseif(tmpp>=50622 and tmpp<=50905) then
getpychar= "P"
elseif(tmpp>=50906 and tmpp<=51386) then
getpychar= "Q"
elseif(tmpp>=51387 and tmpp<=51445) then
getpychar= "R"
elseif(tmpp>=51446 and tmpp<=52217) then
getpychar= "S"
elseif(tmpp>=52218 and tmpp<=52697) then
getpychar= "T"
elseif(tmpp>=52698 and tmpp<=52979) then
getpychar= "W"
elseif(tmpp>=52980 and tmpp<=53640) then
getpychar= "X"
elseif(tmpp>=53689 and tmpp<=54480) then
getpychar= "Y"
elseif(tmpp>=54481 and tmpp<=62289) then
getpychar= "Z"
else '如果不是中文,则不处理
getpychar=char
end if
end function
function getpy(str)
for i=1 to len(str)
pystr=pystr & getpychar(mid(str,i,1))
next
getpy=lcase(pystr)
end function
zhoz_str = getpy(request.form("zhoz_txt"))
pingying = RTrim(zhoz_str)
- asp汉字首字母转拼音
- asp.net汉字转拼音 可返回拼音首字母
- 汉字转拼音首字母
- 汉字转拼音首字母
- 汉字转拼音(首字母)
- 汉字转拼音首字母
- 汉字转拼音首字母函数
- sql 汉字转首字母拼音
- sql 汉字转首字母拼音
- sql 汉字转首字母拼音
- sql 汉字转首字母拼音
- C#汉字转拼音首字母
- php汉字转拼音首字母
- delphi 汉字转拼音首字母
- 汉字转拼音,提取首字母
- ios汉字转拼音首字母
- IOS汉字转拼音首字母
- sqlserver汉字转拼音首字母
- 给PE文件增加节
- Wince6.0 截图函数,BMP格式
- 由PE中删除Section而牵出的内幕
- .NET C# 通用文件上传类
- asp汉字转拼音
- asp汉字首字母转拼音
- asp 读xml
- 学习PE之输出表
- 给大家推荐部很适合IT人看的电影“the social network”
- 时间片轮转 / 多任务 多线程解释 /抢占、非抢占
- struts2做项目?
- CPU的位数与操作系统的位数
- linux 修改主机名
- Microsoft SQL Server 自定义函数整理大全