Let's say we have a string called strInput containing:
123456789#banana#987654
InStr(strInput , "#") returns 10, so we know the position of the first instance of #
InStrRev(strInput , "#") returns 17, so we know the position of the last instance of #
So InStrRev(strInput , "#")-InStr(strInput...