Reply To: Stripping the first four digits of a nine-digit number

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Stripping the first four digits of a nine-digit number Reply To: Stripping the first four digits of a nine-digit number

#59318
garry r fisher
Participant

    Hi,

    I would suggest that if it is not using leading zeroes that Robert’s solution will do what you want.

    lassign $xlateInVals number;

    set newnumber [string range $number end-4 end];

    set xlateOutVals

      ;

    Regards

    Garry