Re: strings in TcL



Darren New wrote:
Cameron Laird wrote:
[string match #* $data]

My first thought was

if {"#" == [string index $data 0]} {...}

Does that make me an old-timer? :-)

i guess so, since

if {"#" eq [string index $data 0]} {...}

would be 'newer' ;-o

cheers

.