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.

change case of first letter [SOLVED]

Help for those learning Tcl or writing their own scripts.
Post Reply
t
tueb
Halfop
Posts: 76
Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:

change case of first letter [SOLVED]

Post by tueb »

Hi,

how do I change the case of the first letter?

for example:

test --> Test


thx in advance,

t.
Last edited by tueb on Fri Oct 26, 2007 12:15 pm, edited 1 time in total.
B
BeBoo
Halfop
Posts: 42
Joined: Wed Sep 26, 2007 1:44 am

Post by BeBoo »

According to TCL language guides:

Code: Select all

set var [string totitle $var]
t
tueb
Halfop
Posts: 76
Joined: Thu Oct 04, 2007 6:09 am
Location: #quiz.de @ irc.gamesurge.net
Contact:

Post by tueb »

thx
Post Reply