AJ, if the leading character will always be “A”, maybe go with xlateStrTrimLeft A OR if the leading character is not constant then maybe xlateStrSubstring 1 end.
If you are prior to 6.0 the STRING Action is not available.
But if a later release, the STRING is an Action you select in the Xlate just like COPY or BULKCOPY or IF, etc. Then there is a pull down menu for the function for the STRING Action you want to use select the appropriate function and hover over it and a usage tip will appear, then double click on the function and a prototype will appear.
I have a STRING Action Treatise I prepared which is available if you email me. It goes over all of the known STRING Action functions, what they do, and how to activate them. I also provide a sample Xlate with each of the functions being used so that you can see actual usage. If you want it, I can even include a modification of one function that allows it to actually be used in an Xlate (the released one can only be used with another function) and perhaps an additional function or two I have created. Just email me if you want that material.
Jim
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
As Jim says, if you are prior to 6.0, the translate string action isn’t available. This code snippet will do the trick using the copy action in a translate and will remove the first character regardless of what it is. If your original value happens to be only one character long, it will return a null value.
lassign $xlateInVals in_val
set out_val [string range $in_val 1 end]
set xlateOutVals
Source will be the field the data is coming from, and Destination will be where you want it to go.