Hi Jason,
I know this is an old thread, but this should work:
Also, FYI, MUSE supports both UUE and B64 since MUSE NX R1 SP4 (circa 2021).
Bill
set map
set ZRI3_5 [lindex $xlateInVals 0]
set ZRI3_5 [string map $map $ZRI3_5]
set ZRI3_5 [uuencode::uudecode $ZRI3_5]
set ZRI3_5 [lindex [lindex $ZRI3_5 0] 2]
set ZRI3_5 [base64::encode -wrapchar “” $ZRI3_5]
set xlateOutVals