Re: Invert case
| From: | Soeren Staun-Pedersen | Date: | Thu, 01 Jun 2000 08:58:42 +0000 |
| Subject: | Re: Invert case | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-775@lists.php.net to get a copy of this message | ||
> There's a function like, er, strtr, I think to which you can pass arguments
> like: -
It's not strstr(), that search for an occurence of a string needle in a
string haystack.
I would probably find the difference in Ascii values between 'A' and 'a'
and do a little loop algorithm to subtract/add.
Cheers,
Soeren Staun-Pedersen - Staun@netwarriors.org
------
"The internet is full, beat it"
- Me.