Public Function RightOfFirstMatchFast( _
ByRef vLine As String _
, ByRef vFind As String _
, ByRef vCompare As VbCompareMethod _
, ByRef vIfNotFound As String _
) As String RightOfFirstMatchFast("This is a test.", "is", vbTextCompare, "") = " is a test."
RightOfFirstMatchFast("This is a test.", "sample", vbTextCompare, "Not found.") = "Not found."See also: RightOfFirstMatch FunctionvLine: The string which is to be searched from left-to-right for the appearance of string vFind.
Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.