| View previous topic :: View next topic |
| Author |
Message |
cannot_delete Voice
Joined: 24 Nov 2006 Posts: 31
|
Posted: Fri Jul 20, 2007 3:04 pm Post subject: inserting a new letter after third letter in $text [solved] |
|
|
Hi,
is there a way to insert a new letter after the third letter of a variable. i want to use it to stop highliting of users who are shown in stats etc.
or is there an easier way to stop the highliting? =)
thx,
typ
Last edited by cannot_delete on Sat Jul 21, 2007 7:45 am; edited 1 time in total |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Jul 20, 2007 7:12 pm Post subject: |
|
|
| Code: | | set text [string range $text 0 2]<letter-here>[string range $text 3 end] |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
cannot_delete Voice
Joined: 24 Nov 2006 Posts: 31
|
Posted: Sat Jul 21, 2007 7:41 am Post subject: |
|
|
| thx, works fine =) |
|
| Back to top |
|
 |
|