Re: strings in TcL



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

My first thought was

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

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

--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where is it?"
"Channelwood."
"We should go there on vacation."
"..."
.



Relevant Pages

  • luciano live stream
    ... OR CLICK THE PICTURE TO THE RIGHT AT 8:30pm PST ... Download Real Player HERE! ... on San Diego City TV local channel 24. ... This program airs Friday & Saturday nights at 8:00pm PST ...
    (rec.music.reggae)
  • Re: CRC64 checksum
    ... Darren New / San Diego, CA, USA (PST) ... Helpful housekeeping hints: ... Check your feather pillows for holes ...
    (comp.lang.tcl)
  • Re: Access Control Lists(ACL)
    ... > I'd like to use setfacl/getfacl like UNIX on Windows XP. ... You could exec cacls. ... San Diego CA USA (PST) ...
    (comp.lang.tcl)
  • Re: sintax error?
    ... Darren New / San Diego, CA, USA (PST) Indications you're in trouble, #37: Your accountant charges you interest for not paying bills for which you already have the canceled checks back. ...
    (comp.lang.tcl)
  • Re: Nonstandard completion codes (WAS Re: proposal: reswitch)
    ... arms (and thus reducing possible errors and furthering my lazyness. ... Darren New / San Diego, CA, USA (PST) Luke, the Force is a powerful ally, second only to The QuickSave. ...
    (comp.lang.tcl)