Re: strings in TcL




mark anthony schrieb:


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

would be 'newer' ;-o

if {[string match #* $data]} {...}
would be simpler, however, and that's why I prefer it :^)

.