Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

eliminate {}

Status
Not open for further replies.

stewang

Programmer
Aug 21, 2003
77
0
0
NZ
Hello all:

I 'd like to ask a question that how to eliminate the { } from a string.
For example,
a string like { how are you }
I'd like the result like as following
how are you
I tried the command like
set string " { how are you } "
set data [ split $string "{" ]
set data1 [ split $data "}" ]

but it doesn't work

Could anyone help me, please

rgds
stewang
 
Hello:
Thanks for you came here, I known how to do already.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top