This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
Moonshine
- Voice
- Posts: 19
- Joined: Sat Aug 09, 2003 4:19 pm
Post
by Moonshine »
ok ... i try to get somthing like a substring.
for example the strings would be
This is one string_Peter
This is another string-Mary
i need to save Peter and Mary in a second string.
(from the end to "-" or "_")
Any idea ? TIA
-
greenbear
- Owner
- Posts: 733
- Joined: Mon Sep 24, 2001 8:00 pm
- Location: Norway
Post
by greenbear »
Code: Select all
set newstr [lindex [split $str -] end]