Re: gt

2002-01-16 Thread Roger C Haslock
depending on the locale! - Original Message - From: "Hanson, Robert" <[EMAIL PROTECTED]> To: "'Naveen Parmar'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 7:16 PM Subject: RE: gt > Yes, but it is "

RE: gt

2002-01-15 Thread McCollum, Frank
yes. 'gt' is used for strings and '>' would be the numerical equivalent. lt = less than eq = equal ne = not equal -Original Message- From: Naveen Parmar [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 2:03 PM To: [EMAIL PROTECTED] Subject: gt Is the following correct?

RE: gt

2002-01-15 Thread Hanson, Robert
Yes, but it is "greater than" in a character code sense. So "b" (ASCII 98) is greater than "a" (ASCII 97), but "A" (ASCII 65) is less than "a". So if you need to compare 2 strings disregarding case you would want this: lc($word1) gt lc($word2) Rob -Original Message- From: Naveen Parma