RE: [PHP] How to check "aBc" different from "abc" ?
| From: | scott [gts] | Date: | Tue, 15 May 2001 22:39:20 +0000 |
| Subject: | RE: [PHP] How to check "aBc" different from "abc" ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52951@lists.php.net to get a copy of this message | ||
this also works:
$st1 = "abc";
$st2 = "abc";
if ($st1 != $st2) {
die("Death");
}
> -----Original Message-----
> From: Steve [mailto:sgates@cloud9.net]
> Sent: Tuesday, May 15, 2001 6:39 PM
> To: php-general@lists.php.net
> Subject: Re: [PHP] How to check "aBc" different from "abc" ?
>
>
> $st1 = "abc";
> $st2 = "abc";
>
> strcmp($st1, $st2); // 0 if equal, -1 or 1 if not equal (depending on
> which one is larger)
>
> ""Bass¨Ð¦õªv"" <98350193j@polyu.edu.hk> wrote in message
> news:9ds76j$9mv$1@toye.p.sourceforge.net...
> > thx ^_^
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>