For many years now (When was Access 1.0 Introduced) I have needed to find a character in a string starting with the last character NOT THE FIRST. I have kept the faith and with each new version I have hoped for another parameter in the Instr Function. Something Like
Instr([Start], String1, String2, [Order])
Where Order = acFirst or acLast
I have always just programmed this in code as needed. So today I decided that today is the first day of the rest of my life, and I created a function RinStr to find String2 in String1 from the back. I did it with a For Loop with step -1. This does the job but it's not very elequent and I suspect not very fast.
Does anyone have a better function for this? If anyone is interested in my function (why should you suffer too), I would be happy to share it.
I keep praying the the MS Access Group will add this option in their next version. But then again, I still believe in Santa Claus.
Thanks
Instr([Start], String1, String2, [Order])
Where Order = acFirst or acLast
I have always just programmed this in code as needed. So today I decided that today is the first day of the rest of my life, and I created a function RinStr to find String2 in String1 from the back. I did it with a For Loop with step -1. This does the job but it's not very elequent and I suspect not very fast.
Does anyone have a better function for this? If anyone is interested in my function (why should you suffer too), I would be happy to share it.
I keep praying the the MS Access Group will add this option in their next version. But then again, I still believe in Santa Claus.
Thanks
