Re: searches with dash, period etc.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 25927
interpreted = N
texte = Dashes and periods are considered word separators so the wo search is looking for two words: r and 3400. Change the search to ws to do a sub-string search on the text you enter (without separating it into multiple words). John.>I use a simple form to generate a text box for submitting a variable to >a tpl containing a search context. (Method=post). > >e.g. >
> > >
> >I then enter r-3400 into the text box. > >The search context includes woFIELDdatarq=[url][value][/url] where >[value] becomes r-3400. > >It appears that when the variable contains a dash or period, e.g. >r-3400 or r.3400, I get the same results as if the dash or period were a >space (essentially everything returns). Whereas if I enter only 3400, >only the items containing 3400 are returned (in this case, r-3400) > >Any ideas as to what's going on here? Is the dash a reserved character >that I need to handle in a special way? > > >Thanks! >John > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to --------------------------------- John A. Hill Smith Micro Software Internet Solutions Division eCommerce / Consulting / Hosting http://www.smithmicro.com (formerly Pacific Coast Software)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re[3]: searches with dash, period etc. (back form politenes (jpeacock@univpress.com 2000)
  2. Re: searches with dash, period etc. (John Bennett 2000)
  3. Re: searches with dash, period etc. (John Hill 2000)
  4. Re[2]: searches with dash, period etc. (back form politenes (Marty Schmid 2000)
  5. Re[2]: searches with dash, period etc. (back form politenes (jpeacock@univpress.com 2000)
  6. Re: searches with dash, period etc. (back form politeness) (John Hill 2000)
  7. Re: searches with dash, period etc. (back form politeness) (Marty Schmid 2000)
  8. Re: searches with dash, period etc. (Marty Schmid 2000)
  9. Re: searches with dash, period etc. (Kenneth Grome 2000)
  10. Re: searches with dash, period etc. (Joseph D'Andrea 2000)
  11. Re: searches with dash, period etc. (John Hill 2000)
  12. Re: searches with dash, period etc. (John Hill 2000)
  13. Re: searches with dash, period etc. (Kenneth Grome 2000)
  14. searches with dash, period etc. (John Bennett 2000)
Dashes and periods are considered word separators so the wo search is looking for two words: r and 3400. Change the search to ws to do a sub-string search on the text you enter (without separating it into multiple words). John.>I use a simple form to generate a text box for submitting a variable to >a tpl containing a search context. (Method=post). > >e.g. >
> > >
> >I then enter r-3400 into the text box. > >The search context includes woFIELDdatarq=[url][value][/url] where >[value] becomes r-3400. > >It appears that when the variable contains a dash or period, e.g. >r-3400 or r.3400, I get the same results as if the dash or period were a >space (essentially everything returns). Whereas if I enter only 3400, >only the items containing 3400 are returned (in this case, r-3400) > >Any ideas as to what's going on here? Is the dash a reserved character >that I need to handle in a special way? > > >Thanks! >John > >------------------------------------------------------------- >Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. >To end your Mail problems go to . > >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to --------------------------------- John A. Hill Smith Micro Software Internet Solutions Division eCommerce / Consulting / Hosting http://www.smithmicro.com (formerly Pacific Coast Software)------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to John Hill

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Banner DNA (1997) [subtotal] and others (1997) Access Denied! But why? (1997) [UPPERCASE] (1997) Separate SSL Server (1997) serial number generation (1997) More Applescript (1997) Adding insurance to an order, round 2 (2003) 2.0 Beta (1997) FYI: SmithMicro Financial Report (2000) FM and Webcat together? (1998) [delete] problem (1997) [WAY OFF TOPIC] anybody live in Kansas? (2003) Robust WebDNA Job Manager / Accountant (2006) Browser Problem?!? POST forms and NN 4.0+ browsers (1997) Copyright ? (1997) PCS Frames (1997) [OT] Theiving B*****ds (2004) Tab Charactor (1997) Authenticate (1997)