Re: Case insensitive string comparison!
| From: | Kevin Beckford | Date: | Tue, 11 Jul 2000 13:16:27 +0000 |
| Subject: | Re: Case insensitive string comparison! | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5907@lists.php.net to get a copy of this message | ||
Read all this:
http://www.zend.com/manual/ref.strings.php
And this:
http://www.zend.com/manual/function.strtoupper.php
if (strtoupper($name) == SUNE))
{
// Whatever...
}
----- Original Message -----
From: Sune Alexandersen <sune@drs.no>
To: <php-general@lists.php.net>
Sent: Monday, July 10, 2000 10:35 PM
Subject: [PHP] Case insensitive string comparison!
> Hi all on the list!
>
> Is there a way to compare to strings and ignore case?
> So that
>
> $name = Sune
>
> would ok on
>
> ($name == SUNE)
>
> ???
>
> regards,
> Sune Alexandersen
> --------------------
> Company site: http://www.drs.no
> Private site: http://www.suneworld.com
> Wap site: http://tagtag.com/suneworld
>
> Download WebExplorer today and manage your PHP
> enabled website in your webbrowser! Its free!
> http://www.suneworld.com/programs
> (over 1.800 downloads since release)
>
> ----- Original Message -----
> From: R. P. Channing Rodgers, M.D. <rodgers@nlm.nih.gov>
> To: <php-general@lists.php.net>; <elm@ao.net>
> Sent: 10. juli 2000 18:11
> Subject: Re: [PHP] Macromedia UltraDev & PHP
>
>
> >
> > > From: Eric Mings <elm@ao.net>
> > > Date: Sun, 9 Jul 2000 16:53:07 -0400
> > > Subject: Re: [PHP] Macromedia UltraDev & PHP
> > >
> > > >This does look like a good product. [...]
> > >
> > > I use Dreamweaver and Fireworks extensively. They are great products.
> >
> > But they are not fully cross-platform, and until they are, folks like
> > me are not the least bit interested...
> >
> > Cheerio, Rick Rodgers
> >
> > --
> > 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
>