Posted by Aaron Gould on 02/23/05 19:57
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
Navigation:
[Reply to this message]
|