Almost there:
If I have the source of:
“De La Smith, Tommy”
and I use a preproc tcl of
set xlateOutVals [string trim [lindex $xlateInVals 0] ]
To destination @name1 and @name2 I get
@name1 =De La Smith
@name2 = Tommy (with the leading space)
I can then apply a preproc tcl of:
set xlateOutVals [string trimleft [lindex $xlateInVals 0]]
With source of @name2 to get rid of the leading space
My final issue is if @name2 =” Tommy III” I lose the III
Is there a way to concatenate all elements of a list into a single string, or, specify something other than a blank space as the delimiter of a list?