| View previous topic :: View next topic |
| Author |
Message |
Access Voice
Joined: 04 Jun 2006 Posts: 22
|
Posted: Thu Sep 21, 2006 6:49 am Post subject: [SOLVED] List in String?! |
|
|
I got the following list:
$list1
| Code: | | {test.test.test-test {2006-09-21 12:17:07} mobo} |
-> | Code: | | set list2 [join $list1] |
$list2
| Code: | | test.test.test-test {2006-09-21 12:17:07} mobo |
Now...how to extract the "{2006-09-21 12:17:07}" from the string?
Or other solutions?!
Thank you, very nice Forum!
Last edited by Access on Fri Sep 22, 2006 5:18 am; edited 1 time in total |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Sep 21, 2006 7:47 pm Post subject: |
|
|
| Code: | | set newvar [lindex $list1 1] |
|
|
| Back to top |
|
 |
Access Voice
Joined: 04 Jun 2006 Posts: 22
|
Posted: Fri Sep 22, 2006 5:17 am Post subject: |
|
|
rofl...i am so stupid^^
thx! |
|
| Back to top |
|
 |
|