| View previous topic :: View next topic |
| Author |
Message |
Tbb Voice
Joined: 17 Dec 2008 Posts: 2
|
Posted: Wed Dec 31, 2008 2:53 am Post subject: Trim character from string |
|
|
hi, im new to tcl but i want to trim the next string:
//imagine at with the text "abc|def"
set at "abc|def"
»»»»set at [string trim $at |]««««« this doesnt work!
i want to get only at="abcdef"
how can i trim the "|" character ?
ty
Edit: Changed subject to suite content. (Sir_Fz) |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
Tbb Voice
Joined: 17 Dec 2008 Posts: 2
|
Posted: Wed Dec 31, 2008 4:07 am Post subject: |
|
|
thank you. it works  |
|
| Back to top |
|
 |
|