I am trying to extract a string between two characters. The length could change for any of the numbers. The values I am trying to extract is only e.g. 0001A, 0002BB, 0003C etc.
Using select SUBSTRING(ordtxt,7,4) as ordtxt
, I would be able to only extract x amount of characters from the left which isn't really something I am looking for.
100/0/0001A/001
101/000/0002BB/001
102/00/0003C/0001
Thank you for any help.