Y
yator
I was using the following InStr() to extract data from a field. The string I
am extracting begins with “!TCANC†and ends with an ASCII Null.
I have now recognized that there is a variant that begins with “!OCANCâ€.
How would I modify my InStr to allow for the variant?
Mid([TEXT],(InStr([TEXT],"!TCANC")),(InStr([TEXT],Chr(0))-InStr([TEXT],"!TCANC"))
am extracting begins with “!TCANC†and ends with an ASCII Null.
I have now recognized that there is a variant that begins with “!OCANCâ€.
How would I modify my InStr to allow for the variant?
Mid([TEXT],(InStr([TEXT],"!TCANC")),(InStr([TEXT],Chr(0))-InStr([TEXT],"!TCANC"))