in tcl : set xlateInVals xxx-ABCD-xdcs and I run
set xlateOutVals
4 5]]
returns
AB — this is correct
but what if it comes in like this…
set xlateInVals xxxx-ABCD-xdcs ,
-A not correct .. then the above does not work.
I want the first 2 characters after the first HYPHEN no matter how long the characters are in front of the HYPHEN.
any ideas…?