Join Up!
104886 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousucfirstvprintfnext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | German

ucwords

(PHP 3>= 3.0.3, PHP 4 )

ucwords --  Pone en mayúsculas el primer caracter de cada palabra de una cadena

Descripción

string ucwords ( string cad)

Pasa a mayúsculas la primera letra de cada palabra en cad si dicho caracter es alfabético.

Ejemplo 1. Ejemplo de ucwords()

$texto = "susanita tiene un ratón, un ratón chiquitín.";
$texto = ucwords($texto); // $texto vale ahora: Susanita Tiene Un
                        // Ratón, Un Ratón Chiquitín.

Vea también strtoupper(), strtolower() y ucfirst().

User Contributed Notes
ucwords
add a note about notes
There are no user contributed notes for this page.
previousucfirstvprintfnext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST