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
'====================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top