Reply To: Removing parenthesis and dashes from phone numbers

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Removing parenthesis and dashes from phone numbers Reply To: Removing parenthesis and dashes from phone numbers

#59692
Dave Zibble
Participant

    There was a small but significant typo in the example.  The right parens in the first parameter was mistyped as a }.

    You can do it Ariba!!  It works like a charm!  

    tcl>set a (630)555-1212                          

    tcl>set b [string map “( {} ) {} – {}” $a]      

    tcl>echo $b

    6305551212