.... 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 "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 Parmar [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 15, 2002 2:03 PM
> To: [EMAIL PROTECTED]
> Subject: gt
>
>
> Is the following correct? Does 'gt' stand for 'greater than'?
>
> $word1 gt $word2 -- The string $word1 comes after $word2
>
> - NP
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to