¼ÓÈëÊÕ²Ø | ÉèΪÊ×Ò³ | »áÔ±ÖÐÐÄ | ÎÒҪͶ¸å ¼ÃÄÏÕ¾³¤Íø £¨https://www.0531zz.com/£©- ¿Æ¼¼¡¢½¨Õ¾¡¢¾­Ñé¡¢ÔƼÆËã¡¢5G¡¢´óÊý¾Ý,Õ¾³¤Íø!
µ±Ç°Î»Ö㺠Ê×Ò³ > Õ¾³¤Ñ§Ôº > Asp½Ì³Ì > ÕýÎÄ

Êý×é²Ù×÷Àà - ASP½Ì³Ì

·¢²¼Ê±¼ä£º2016-08-11 22:17:33 ËùÊôÀ¸Ä¿£ºAsp½Ì³Ì À´Ô´£ºÕ¾³¤Íø
µ¼¶Á£ºOption Explicit Class cArr Private tMin ''//×îСֵ thisMin Private tMax ''//×î´óÖµ Private tStr ''//Êý×é´® Private tSortStr''//ÅÅÐò´®£¬µ±¶ÔͬһÊý×é´®
Option Explicit

Class cArr
¡¡¡¡¡¡¡¡ Private tMin¡¡¡¡¡¡¡¡¡¡ ''//×îСֵ thisMin
¡¡¡¡¡¡¡¡ Private tMax¡¡¡¡¡¡¡¡¡¡ ''//×î´óÖµ
¡¡¡¡¡¡¡¡ Private tStr¡¡¡¡¡¡¡¡¡¡ ''//Êý×é´®
¡¡¡¡¡¡¡¡ Private tSortStr''//ÅÅÐò´®£¬µ±¶ÔͬһÊý×é´®½øÐвÙ×÷ʱ±ÜÃâ¶à´ÎÅÅÐò²Ù×÷
¡¡¡¡¡¡¡¡ Private tLength¡¡¡¡¡¡¡¡¡¡ ''//ÔªËظöÊý

¡¡¡¡¡¡¡¡ Private Sub Class_Initialize
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr¡¡¡¡¡¡¡¡¡¡ ="0"
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=""
¡¡¡¡¡¡¡¡ End Sub

¡¡¡¡¡¡¡¡ ''//»ñµÃ×îСֵ
¡¡¡¡¡¡¡¡ Property Get cMin
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tMin=0 Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim sStr
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tSortStr="" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ sStr=Split(cSort,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ sStr=Split(tSortStr,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin=sStr(0)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ cMin=tMin
¡¡¡¡¡¡¡¡ End Property

¡¡¡¡¡¡¡¡ ''//»ñµÃ×î´óÖµ
¡¡¡¡¡¡¡¡ Property Get cMax
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tMax=0 Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim sStr
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tSortStr="" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ sStr=Split(cSort,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ sStr=Split(tSortStr,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax=sStr(Ubound(sStr))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ cMax=tMax
¡¡¡¡¡¡¡¡ End Property

¡¡¡¡¡¡¡¡ Property Get Length
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tStr="" Or tStr=0 Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Length¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =Ubound(Split(tStr,","))+1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Length¡¡¡¡¡¡¡¡¡¡ =tLength
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡ End Property

¡¡¡¡¡¡¡¡ ''//½«Êý×é´®¸³¸øÊôÐÔ
¡¡¡¡¡¡¡¡ Property Let srcStr(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If str="" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr="0"
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr=str
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡ End Property

¡¡¡¡¡¡¡¡ ''//ÅÅÐò£¬µ¹Ðò
¡¡¡¡¡¡¡¡ Public Function cSort
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim Arr,i
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Redim Arr(Ubound(Split(tStr,",")))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim tmp,j
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For i=0 to Ubound(Arr)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr(i)=CDBL(Split(tStr,",")(i))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For I= 0 to Ubound(Arr)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For¡¡ j=i+1 to Ubound(Arr)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If Arr(i)<Arr(j) Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmp¡¡¡¡¡¡¡¡¡¡ =Arr(i)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr(i)¡¡¡¡¡¡¡¡¡¡ =Arr(j)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr(j)¡¡¡¡¡¡¡¡¡¡ =tmp
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=Join(Arr,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ cSort=tSortStr
¡¡¡¡¡¡¡¡ End Function
¡¡¡¡¡¡
¡¡¡¡¡¡¡¡ ''//˳Ðò
¡¡¡¡¡¡¡¡ Public Function cSortAsc
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim tmp,i,Arr
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tSortStr="" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmp=cSort
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmp=tSortStr
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Redim Arr(Ubound(Split(tmp,",")))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr=Split(tmp,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For i= Ubound(Arr) to 0 Step -1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ cSortAsc=cSortAsc & Arr(i) & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ cSortAsc=Left(cSortAsc,Len(cSortAsc)-1)
¡¡¡¡¡¡¡¡ End Function

¡¡¡¡¡¡¡¡ ''//ÔÚδβ¼ÓÔªËØ
¡¡¡¡¡¡¡¡ Public Function AddItem(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tStr="" OR tStr="0" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr=str
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr=tStr & "," & str
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=""
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =tLength + 1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AddItem¡¡¡¡¡¡¡¡¡¡ =tStr
¡¡¡¡¡¡¡¡ End Function

¡¡¡¡¡¡¡¡ ''//Ç°²¿¼ÓÔªËØ
¡¡¡¡¡¡¡¡ Public Function AddItemBefore(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If tStr="" OR tStr="0" Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr=str
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Else
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr=str & "," & tStr
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=""
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =tLength + 1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AddItemBefore=tStr
¡¡¡¡¡¡¡¡ End Function

¡¡¡¡¡¡¡¡ ''//ÒƳýÔªËØ
¡¡¡¡¡¡¡¡ Public Function RemoveItem(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr¡¡¡¡¡¡¡¡¡¡ =Replace("," & tStr & "," , "," & str & "," , ",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr¡¡¡¡¡¡¡¡¡¡ =Mid(tStr,2,Len(tStr)-2)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=Replace("," & tSortStr & "," , "," & str & "," , ",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=Mid(tSortStr,2,Len(tSortStr)-2)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ RemoveItem=tStr
¡¡¡¡¡¡¡¡ End Function

¡¡¡¡¡¡¡¡ ''//ÔÚË÷ÒýλÖüÓÔªËØ
¡¡¡¡¡¡¡¡ Public Function AddItemI(index,str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If index>=Length Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AddItem(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Exit Function
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If index<=0 Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AddItemBefore(str)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Exit Function
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End if
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim Arr,i,tmps
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Redim Arr(Ubound(Split(tStr,",")))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr=Split(tStr,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For i=0 to index-1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps=tmps & Arr(i) & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps=tmps & str & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For i=index to Ubound(Arr)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps=tmps & Arr(i) & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps¡¡¡¡¡¡¡¡¡¡ =Left(tmps,Len(tmps)-1)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr¡¡¡¡¡¡¡¡¡¡ =tmps
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=""
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =tLength+1
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ AddItemI=tStr
¡¡¡¡¡¡¡¡ End Function

¡¡¡¡¡¡¡¡ ''//ÔÚË÷ÒýλÖÃÒƳýÔªËØ
¡¡¡¡¡¡¡¡ Public Function RemoveItemI(index)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If index>=Length Or index<=0 Then
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Exit Function
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ End If
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Dim Arr,i,tmps
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Redim Arr(Ubound(Split(tStr,",")))
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Arr=Split(tStr,",")
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ For i=0 to Ubound(Arr)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ If i<>index Then tmps=tmps & Arr(i) & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ Next
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps=tmps & str & ","
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tmps¡¡¡¡¡¡¡¡¡¡ =Left(tmps,Len(tmps)-1)
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tStr¡¡¡¡¡¡¡¡¡¡ =tmps
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tSortStr=""
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tLength¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMin¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ tMax¡¡¡¡¡¡¡¡¡¡ =0
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ RemoveItemI=tStr
¡¡¡¡¡¡¡¡ End Function

End Class

£¨±à¼­£º¼ÃÄÏÕ¾³¤Íø£©

¡¾ÉùÃ÷¡¿±¾Õ¾ÄÚÈݾùÀ´×ÔÍøÂ磬ÆäÏà¹ØÑÔÂÛ½ö´ú±í×÷Õ߸öÈ˹۵㣬²»´ú±í±¾Õ¾Á¢³¡¡£ÈôÎÞÒâÇÖ·¸µ½ÄúµÄȨÀû£¬Ç뼰ʱÓëÁªÏµÕ¾³¤É¾³ýÏà¹ØÄÚÈÝ!

    ÈȵãÔĶÁ