compare 2 strings???

Results 1 to 2 of 2

Thread: compare 2 strings???

  1. #1
    mariond Guest

    Default compare 2 strings???

    I want to compare 2 strings <BR>Test is my table field<BR>request.querystring("selec1")=deriviere<B R>I want to know if Test is constitued by deriviere<BR>Test can be marion deriviere or olivier deriviere for instance <BR>I wrote this but it doesn t work, what can I do?<BR>Test like &#039"& request.querystring("select1")&"&#039 <BR>I want to obtain true if request.querystring("select1")=marion or deriviere or olivier<BR>Thanks

  2. #2
    Join Date
    Dec 1969

    Default Circles Man!!!

    Wow, but I think what you are looking for is a wildcard search.<BR><BR>&#039 Access Example<BR>Test like &#039*"& request.querystring("select1")&"*&#039 " <BR><BR>&#039 ORACLE / SQL Server Example<BR>Test like &#039%"& request.querystring("select1")&"%&#039 "<BR><BR><BR>HTH<BR><BR>Jerry<BR><BR><BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts