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.

inserting a new letter after third letter in $text [solved]

Help for those learning Tcl or writing their own scripts.
Post Reply
c
cannot_delete
Voice
Posts: 31
Joined: Fri Nov 24, 2006 5:31 am

inserting a new letter after third letter in $text [solved]

Post by cannot_delete »

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.
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Code: Select all

set text [string range $text 0 2]<letter-here>[string range $text 3 end]
c
cannot_delete
Voice
Posts: 31
Joined: Fri Nov 24, 2006 5:31 am

Post by cannot_delete »

thx, works fine =)
Post Reply