Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Instrrev function
Hi,
Hope this is noted by Microsoft. I have been using the Instrrev function in my code and could not figure out why I was getting the 'wrong' answer. Well I was reading the description in help too literally. The description states "Returns the position of an occurrence of one string within another, from the end of string." So my understanding was that it counted the number of characters back from the end of the string and gave a number equal to the number of characters back from the end of the string. In fact what the function seems to do is to search the string from the end of the string, and give the number of characters where the particular character occurs from the START of the string. This 'error' gave me a few minutes of figuring out. My suggestion to Microsoft is to make the descriptor a little more obvious and state that the SEARCH starts from the end and it returns the number of characters from the START of the string. Regards DavidC |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
worksheet function for InStrRev() | Excel Programming | |||
Strange behavior of InStrRev() function | Excel Programming | |||
is there a instrRev function in excel functions? | Excel Worksheet Functions | |||
is there a instrRev function in excel functions? | Excel Worksheet Functions | |||
InStrRev function not working? | Excel Programming |