Reply To: tcl help in reformating phone nubmer output

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl help in reformating phone nubmer output Reply To: tcl help in reformating phone nubmer output

#57235
Charlie Bursell
Participant

    Just a tcl fragment.

    Assume the number comes in as  1234567890

    set ph [lindex $xlateInVals 0]

    regsub — {(d{3})(d{3})(d{4})} $ph {(1)2-3} ph

    set xlateOutVals