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
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