InStrRev returns odd results

K

KARL DEWEY

When I use InStrRev([Canvasser]," ") I get the results below --
Canvasser InStr InStrRev
Andrew Box Bill 7 11
Tristan Brown 8 8
Dex Trim 4 4
Dixon Nelly Brown 6 12
Internet Bill 9 9

What do I need to check?
 
J

John Spencer

Those look like the correct results to me.

InStrRev returns the position of the searchstring in the string being
searched. It starts looking from the end of the string, but it returns
the position counting from the front. Position is always counted from
the left to the right.



'====================================================
John Spencer
Access MVP 2002-2005, 2007-2008
Center for Health Program Development and Management
University of Maryland Baltimore County
'====================================================
 
Top