I need to grab the 6 numbers from the middle of a string like ABCDEF123456A and ABCDEFGH123456A . So I want 6 characters starting at the 7 last character in a string. I tried mid(TEXT, len(TEXT)-7,6) but I get a proceedural error.
mid(TEXT,7,6) has no issues but the starting point varies and the mid() does not seem to like the LEN(TEXT)-7 in the middle.
Is there a better way?
mid(TEXT,7,6) has no issues but the starting point varies and the mid() does not seem to like the LEN(TEXT)-7 in the middle.
Is there a better way?
Comment