@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> ..
<1> ...
<2> ; string match *bat.img* "xbatximgx"



<2> ok... i am trying to write something that will detect whether a variable has "bat<img" in it
<2> how do i do that with string match?
<2> have tried "string match *bat?img* $filtercheck" but that doesnt seem to work either
<3> regexp -- {^bat.img} $filtercheck
<2> thanks robb
<3> np
<2> well actually
<2> this is being used in an if statement
<2> if {[string match *text* $filtercheck]}
<3> if {[regexp -- {^bat.img} $filtercheck]} { do this }



<2> great ;)
<2> thanks again
<3> =)
<3> no problem
<4> hi
<4> foreach ?
<5> foreach -> http://www.tcl.tk/man/tcl8.4/TclCmd/foreach.htm
<6> :(
<7> .


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #tcl
or
Go to some related logs:

#computers
#bsd
#gentoo
#hardware
yum install fluxbox
#ubuntu
#asp
#worldcup
#politics
#computers



Home  |  disclaimer  |  contact  |  submit quotes