| View previous topic :: View next topic |
| Author |
Message |
Getodacul Voice

Joined: 07 Jun 2007 Posts: 20
|
Posted: Fri Mar 13, 2009 7:46 am Post subject: Split a word in w o r d |
|
|
How can i split a word in w o r d?
Example:
<Eddgrop> !s testing
<Eddgrop> t e s t i n g
I need only a ideea.
Thanks |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
Posted: Fri Mar 13, 2009 8:26 am Post subject: |
|
|
| Code: | [tomekk@zonk]:/home# ./zonk.tcl
t e s t i n g { t e s t i n g }
|
try:
| Code: | set word "testing {testing}"
puts [join [split $word {}]] |
|
|
| Back to top |
|
 |
Getodacul Voice

Joined: 07 Jun 2007 Posts: 20
|
Posted: Fri Mar 13, 2009 9:17 am Post subject: |
|
|
| thanks, i get the ideea and it's working |
|
| Back to top |
|
 |
|