string first $seen $sourcedata start
Where $seen is the text you are searching, $sourcedata is the text you want to find $seen and start will become the index of $sourcedata where the first character of $seen was located.
So let’s say the first position in the inbound source occurs in the 5th position of the source and the length of $seen is 10 then you need to add 10 to $start to give you the start for string range (you may need to adjust one up or down).
Now $start points to the first character following the end of $seen in $sourcedata. If your date starts right there then $start is correct otherwise you may need to add more to $start.
Now set $done to the sum of $start and 12 (assuming the date is 12 characters).
So the string range would look like this:
string range $sourcedata $start $done
The result of which should be your date.
I have not actually tested any of the above but I think the essentials are correct.
If you still want to investigate using string and are having issues email me and we can do this off line.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.