Programming Reference Manual
 
Syntax
 
long = stringclassobject.FindRev(sSearch[, Start][, Compare])
 
Description
Returns the position of the reversed searched string in the text buffer. If not found, the function returns 0 (zero). Reversed means that searching will begin and the rightmost position in the internal text buffer of the StringClass variable.
 
Parameter
Description
sSearch
The string that is searched in the text buffer of the StringClass variable
Start
Optional. The position in the text buffer from where the search will start. When omitted, searching will start at the first position of the text buffer.
Compare
Optional. The type of comparison that will be used during the search. Only standard VB compare types are allowed.
Default value = vbBinaryCompare.
See Also
Example
 
Sub Main
 
Dim myStr As New StringClass
 
myStr.Append "Test"
 
Debug.Print myStr.FindRev("s") '3
 
End Sub