Extra parameters for strtoupper(), strtolower()
| From: | J Smith | Date: | Mon, 13 Aug 2001 20:44:46 +0000 |
| Subject: | Extra parameters for strtoupper(), strtolower() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63113@lists.php.net to get a copy of this message | ||
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.
J