Re: Extra parameters for strtoupper(), strtolower()
| From: | (Stig Sæther Bakken) | Date: | Tue, 14 Aug 2001 08:45:59 +0000 |
| Subject: | Re: Extra parameters for strtoupper(), strtolower() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63142@lists.php.net to get a copy of this message | ||
[J Smith <dark_panda@hushmail.com>]
> string strtoupper(string string [, int start [, int length]])
> string strtolower(string string [, int start [, int length]])
>
> The additional parameters would work in much the same fashion as
> substr(). I've implemented it in the latest cvs just for the hell
> of it.
>
> Am I the only one who thinks this is even remotely useful? It isn't
> a big thing, but it's a lot easier to have this available than to
> chop up a string with substr() and then capitalize what you want.
>
> A pretty useless feature, I guess. Obviously, I'm pretty bored right
> now.
If it's useful to you, it will be useful to others. Go for it.
- Stig
--
Stig Sæther Bakken <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway