如果想從字串的結尾處開始往左搜尋,則可改用 InStrRev : Dim pos As Integer pos = InStrRev("Hello, World.", "l") MsgBox "pos = " & pos. VBA ...
確定! 回上一頁