截取字符串中右边第一个"/"以后的部分 Function RightStr(s As String) As String Dim i As Integeri = Len(s) While Mid$(s, i, 1)"/" i = i - 1 Wend RightStr = Mid$(s, i + 1, Len(s)) End Function...
dim temp() as string dim fullname as string dim filename as string fullname=".200905/2009/mjch[2009]59fj.zip " temp=split(fullname,"/") filename=temp(2)...
Dim a, b, c As StringPrivate Sub Form_Click()Print Right$(a, 18)Print Right$(b, 15)Print Right$(c, 16)End SubPrivate Sub Form_Load()a = ".200905/2009/mjch[2009]59fj...