If there isnt a way i would like you to add this to Dream Maker code..
A wildcard symbol.. for example:
if(usr.blah == "* test *") //* being wildcard
usr << "1"
else
usr << "2"
so if usr.blah was anything with "test" in it, it would say "1".. usr.blah could be "radio test dog" and it would be 1..
Thanks
ID:137664
![]() Aug 22 2001, 7:07 pm
|
|
Zilal wrote:
Rcet wrote: Oh, also.. There's a findText() proc, that is case sensitive. It's used in the same matter. <code> if(findText(usr.blah,"Test")) </code> Procs Learned findText proc - Case Sensitive findtext proc - NOT case sensitive |
The way you'd do this now is:
if (findtext(usr.blah,"test"))
..and that'll return 1 if usr.blah contains "test" anywhere.
Z