I am trying to find a function that will extract characters at a specific position within a string. For example, I have a long file name with a date in it, and I want to get only the date:
'LT50420331984221PAC00_B7.tif'
and I want only the part "1984221". I came up with a complex function, but wondered if there was a more elegant solution.
source share