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.

Cutting - # - from channelnames

Old posts that have not been replied to for several years.
Locked
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Cutting - # - from channelnames

Post by BiLL »

Heyya,

I got the variable $chan and $rchan.

set rchan [string tolower $chan]

Now my problem is that rchan still got a # in its name.

How can I do a string tolower AND cut the # from the channelname?

It would be very nice if anyone could help me.

Many thanks!

BiLL
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Post by BiLL »

PPSlim helped me thanks :-).
( set rchan [string trimleft [string tolower $chan] #] )
Locked