Re: strings in TcL



Darren New <dnew@xxxxxxxxxx> writes:

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

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

if { ![string first "#" $data] }

unfortunately involves a negation of the meaning you would get by
reading the words, much like [string compare] for testing equality.


--
Donald Arseneau asnd@xxxxxxxxx
.



Relevant Pages

  • Re: Fiona / draft / PJR
    ... If I could only do the accent I might enjoy reading ... Along with the rhododendron girl, ... sense, but it has its own Scottish dialect meaning, ...
    (rec.arts.poems)
  • Re: Online photo printing
    ... There were two words out of context that made no sense to me so I politely queried the poster's meaning. ... Try reading the thread. ...
    (uk.misc)
  • Re: Cascading errors at Buyers "Royal Ark"
    ... you have given up your declared intention of not reading my ... posts and advising others how not to do the same. ... You will see the renunciations/relinquishments by the people concerned. ... there is no need becaue the meaning is the same. ...
    (alt.talk.royalty)
  • Re: Current
    ... so the meaning of that word must often be ... to refer to that reading as the current ... reading of power. ... If you want a better phrasing for "Take the *current* value of energy ...
    (alt.usage.english)
  • Re: SCWC 32: Discussion: IMPLEMENT
    ... Which two of the many shades of meaning are you concerned ... language can be changed deliberately. ... must get around to reading. ... Big Brother, I'm sorry, I mean Big Brother is doubleplusgood. ...
    (rec.puzzles.crosswords)