Function to find the last occurrence of one string within another
Function to find the last occurrence of one string within another
Rate Function to find the last occurrence of one string within another
(2(2 Vote))
Dim P As Long, LastP As Long, Start As Long
P = InStr(1, sTarget, sFind, iCompare)
Do While P
LastP = P
P = InStr(LastP + 1, sTarget, sFind, iCompare)
Loop
InStrR = LastP
End Function
Function to find the last occurrence of one string within another Comments
No comments yet — be the first to post one!
Post a Comment