I can't compare strings

Results 1 to 2 of 2

Thread: I can't compare strings

  1. #1
    Rake Guest

    Default I can't compare strings

    Hi guys, I&#039m trying to compare strings but they are always unequel:<BR><BR>var strData1=String(Request.Form("formdata"));<BR>var strData2=String(ors.Fields("databasedata"));<BR><B R>if(strData1 == strData2) ... never works.<BR><BR>I&#039m using ASP and SQL Server.<BR>

  2. #2
    Sathiya Guest

    Default RE: I can't compare strings

    use TRIM to remove the spaces may be that can cause some problem.<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