Public Function InStrReverseFast( _
ByRef vStartPos As Long _
, ByRef vLine As String _
, ByRef vFind As String _
, ByRef vCompare As VbCompareMethod _
) As Long InStrReverseFast(15, "THIS IS A TEST.", "IS", vbBinaryCompare) = 6
InStrReverseFast(10, "THIS IS A TEST.", "TEST", vbBinaryCompare) = 0See also: InStrReverse Function
InStr Function (Visual Basic)vStartPos: The character position in string vLine where the search is to begin. Function returns 0 (zero) if string vFind does not appear anywhere within string vLine.
v1.5 Note: This function is similar to the new InStrRev function in Visual Basic 6.0, except that the arguments are arranged differently.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.