Reply To: Formatting with Spaces

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Formatting with Spaces Reply To: Formatting with Spaces

#59759
Robert Kersemakers
Participant

    Hi David,

    You almost got it, but your xlateOutVals was a list of three elements and it should be a list of one element: the string “123 456 7890”.

    Max’s solutions absolutely work: just use

    Code:

    set xlateOutVals [list $new]

    Or another option would be to modify your own solution like this:

    Code:

    set xlateOutVals [list [cconcat [string range $xlateInVals 0 2] [string range $xlateInVals 3 5] [string range $xlateInVals 6 end]]]

    Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands