Originally posted by Duy Nguyen
set tmp [string trimleft [lindex $xlateOutVals 0]]; set xlateOutVals [list $tmp]
Max Drown wrote:I do it like this:set tmp [string trimleft [lindex $xlateOutVals 0]]; set xlateOutVals [list $tmp]Remember that xlateInVals and xlateOutVals are lists.
Max Drown wrote:
echo "In: "lassign $xlateInVals inputecho "Input: "set output [string trimleft $input]echo "Output: "set xlateOutVals [list $output]echo "Out: "
Originally posted by Chris Williams
Dallas TX
{ Dallas TX}
set xlateOutVals [list [string trimleft [lindex $xlateInVals 0]]]