<thead id="jxdzp"><address id="jxdzp"><pre id="jxdzp"></pre></address></thead>

<em id="jxdzp"><span id="jxdzp"></span></em>

    <listing id="jxdzp"><nobr id="jxdzp"><meter id="jxdzp"></meter></nobr></listing>

      <address id="jxdzp"></address>
      <noframes id="jxdzp"><form id="jxdzp"><th id="jxdzp"></th></form>
      <noframes id="jxdzp"><form id="jxdzp"><th id="jxdzp"></th></form>

          訂閱本欄目 RSS您所在的位置: 深山工作室 > ASP > 正文

          asp獲取漢字拼音的第一個字母

          深山工作室 2014/5/20 14:26:54 深山 字體: 瀏覽 5178
           <%
          '獲取漢字拼音第一字母
          function getpychar(char) 
          dim tmp
          tmp=65536+asc(char) 
          if(tmp>=45217 and tmp<=45252) then  
          getpychar= "A" 
          elseif(tmp>=45253 and tmp<=45760) then 
          getpychar= "B" 
          elseif(tmp>=45761 and tmp<=46317) then 
          getpychar= "C" 
          elseif(tmp>=46318 and tmp<=46825) then 
          getpychar= "D" 
          elseif(tmp>=46826 and tmp<=47009) then  
          getpychar= "E" 
          elseif(tmp>=47010 and tmp<=47296) then  
          getpychar= "F" 
          elseif(tmp>=47297 and tmp<=47613) then  
          getpychar= "G" 
          elseif(tmp>=47614 and tmp<=48118) then 
          getpychar= "H" 
          elseif(tmp>=48119 and tmp<=49061) then 
          getpychar= "J" 
          elseif(tmp>=49062 and tmp<=49323) then  
          getpychar= "K" 
          elseif(tmp>=49324 and tmp<=49895) then  
          getpychar= "L" 
          elseif(tmp>=49896 and tmp<=50370) then  
          getpychar= "M" 
          elseif(tmp>=50371 and tmp<=50613) then  
          getpychar= "N" 
          elseif(tmp>=50614 and tmp<=50621) then  
          getpychar= "O" 
          elseif(tmp>=50622 and tmp<=50905) then 
          getpychar= "P" 
          elseif(tmp>=50906 and tmp<=51386) then  
          getpychar= "Q" 
          elseif(tmp>=51387 and tmp<=51445) then  
          getpychar= "R" 
          elseif(tmp>=51446 and tmp<=52217) then  
          getpychar= "S" 
          elseif(tmp>=52218 and tmp<=52697) then  
          getpychar= "T" 
          elseif(tmp>=52698 and tmp<=52979) then  
          getpychar= "W" 
          elseif(tmp>=52980 and tmp<=53688) then  
          getpychar= "X" 
          elseif(tmp>=53689 and tmp<=54480) then  
          getpychar= "Y" 
          elseif(tmp>=54481 and tmp<=62289) then 
          getpychar= "Z" 
          else '如果不是中文,則不處理 
          getpychar=char 
          end if 
          end function 
          %>
          相關閱讀
          ASP取出HTML里面的圖片地址的函數
          ASP FSO讀取XX文件夾下的所有文件列表
          Javascript JS 限制復選框的選擇個數
          css背景使用base64編碼或者將base64編碼放在img圖片標簽中
          IE6下用CSS使PNG半透明背景圖片效果
          一些關于素材的網站
          asp 當日訪問量,全部訪問量,當前在線人數統計
          過濾輸入字符串中的危險符號
          共有0條關于《asp獲取漢字拼音的第一個字母》的評論
          發表評論
          正在加載評論......
          返回頂部發表評論
          呢 稱:
          表 情:
          內 容:
          評論內容:不能超過 1000 字,需審核,請自覺遵守互聯網相關政策法規。
          驗證碼: 驗證碼 
          網友評論聲明,請自覺遵守互聯網相關政策法規。

          您發布的評論即表示同意遵守以下條款:
          一、不得利用本站危害國家安全、泄露國家秘密,不得侵犯國家、社會、集體和公民的合法權益;
          二、不得發布國家法律、法規明令禁止的內容;互相尊重,對自己在本站的言論和行為負責;
          三、本站對您所發布內容擁有處置權。

          更多信息>>欄目類別選擇
          百度小程序開發
          微信小程序開發
          微信公眾號開發
          uni-app
          asp函數庫
          ASP
          DIV+CSS
          HTML
          python
          更多>>同類信息
          ASP中Utf-8與Gb2312編碼轉換亂碼問題的解決方法頁面編碼聲明
          asp顯示隨機密碼
          通過阿里云服務接口獲得ip地址詳細信息
          iis點開后任務欄上有顯示,但是窗口看不到的解決辦法
          RSA加密解密插件
          微軟Encoder加密解密函數
          更多>>最新添加文章
          dw里面查找替換使用正則刪除sqlserver里面的CONSTRAINT
          Android移動端自動化測試:使用UIAutomatorViewer與Selenium定位元素
          抖音直播音掛載小雪花 懂車帝小程序
          javascript獲取瀏覽器指紋可以用來做投票
          火狐Mozilla Firefox出現:無法載入您的Firefox配置文件 它可能已經丟失 或是無法訪問 問題解決集合處理辦法
          在Android、iOS、Windows、MacOS中微信小程序的文件存放路徑
          python通過代碼修改pip下載源讓下載庫飛起
          python里面requests.post返回的res.text還有其它的嗎
          更多>>隨機抽取信息
          深山旅行社網站管理系統5.0發布
          深山行者留言系統V3.2發布
          仿淘寶網站的導航標簽效果!
          利用asp相關的函數動態更新access數據庫
          XHTML+CSS兼容性解決方案小集
          pywinauto技術文檔
          88国产精品视频一区二区三区