Re: sentence case

From: Date: Wed, 23 Feb 2005 17:57:51 +0000
Subject: Re: sentence case
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209273@lists.php.net to get a copy of this message
Diana Castillo wrote:
with php, HOW CAN I CONVERT SENTENCES LIKE THIS . TO BE UPPER AND LOWER CASE to become like this : How can I convert sentences like this. To be upper and lower case.
Sounds like you need a combination of ucfirst() and strtolower(). $newstring = ucfirst(strtolower($oldstring)); -- Aaron Gould Programmer/Systems Administrator PARTS CANADA

« previous php.general (#209273) next »