Focus on WEB Application and Software Engineering
一月 31
$uncut$strCurVisual=Rs("Avatar_Visual")
arrCurVisualSplit=Split(strCurVisual,"|")
For i=0 to 24
    If arrCurVisualSplit(i)<>"" Then
        If InStr(arrCurVisualSplit(i),".")>0 Then
            strTmp=Split(arrCurVisualSplit(i),".")(0)
            If InStr(strCurItemID,"|"&strTmp&"|")=0 Then
                strCurItemID=strCurItemID&Split(arrCurVisualSplit(i),".")(0)
                strCurItemID=strCurItemID&"|"

            End If
        Else
            If InStr(strCurItemID,"|"&arrCurVisualSplit(i)&"|")=0 Then
                strCurItemID=strCurItemID&arrCurVisualSplit(i)
                strCurItemID=strCurItemID&"|"
            End If
        End If
    End If
Next

'上面得到类似strCurItemID="|339|133|126|11|10|9|"的会员服饰ID字符串
觉得这段写的很漂亮,放这里253一下,活活~

当前评分 1.8 , 共有 20 人参与

  • Currently 1.8/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

添加评论




看不清?点击图片看看
biuquote
Loading



关于我

kittow (天笑)
80年代生于“天府之国”四川
爱好:编程、篮球、数码、旅游
乘一叶兴趣小舟,漂泊于浩瀚IT海洋。。。
TITLE:MSE of UESTC & 软件设计师
Technical Capacity | Last Blog