2 Replies Latest reply on May 28, 2010 9:22 AM by gkaiseril

    Simple compare not working correctly(?)

    Bill95722 Level 1

      I'm comparing two text fields: if (a.rawvalue < b.rawvalue)

      a contains "name name - sf" and b contains "name name - la" (read these as entered, the "name name" are identical)

       

      Shouldn't a be greater than b? In my script the "la" is comparing higher then the sf!

       

      Does the dash cause the compare to stop before the la and sf? Or what?

      Does case matter?

       

      Thanks!