functions-online

ucwords

en
de
es
fr
pt

description

Returns a string with the first character of each word in $str capitalized, if that character is alphabetic.

The definition of a word is any string of characters that is immediately after a whitespace (These are: space, form-feed, newline, carriage return, horizontal tab, and vertical tab).

Gibt einen String zurück, in dem das erste Zeichen eines jeden Wortes innerhalb von $str in einen Großbuchstaben umgewandelt wurde, sofern es sich dabei um Buchstaben handelt.

Als Wort wird hierbei eine Zeichenkette verstanden, die einem Whitespace (Leerzeichen, Seitenvorschub, Zeilenvorschub, Wagenrücklauf sowie horizontalem und vertikalem Tabulatorzeichen) folgt.

Pasa a mayúsculas la primera letra de cada palabra en $str si dicho carácter es alfabético.

La forma de determinar qué es una palabra es la siguiente: cualquier cadena de caracteres que esté seguida por un espacio en blanco (los espacios en blanco definidos son: espacio, nueva línea, retorno de carro, tabulador horizontal y tabulador vertical).

Retourne la chaîne $str après avoir mis en majuscule la première lettre de tous les mots, si ce caractère est alphabétique.

La définition d'un mot est : toute séquence de caractères qui suit immédiatement un caractère blanc (espace, tabulation, nouvelle ligne, retour chariot, tabulation verticale).

Retorna uma string com o primeiro caractere de cada palavra em $str em maiúscula, se este caractere fizer parte do alfabeto.

A definição de palavra é uma string de caracteres que é precedida de um whitespace (Estes são: space, form-feed, newline, carriage return, horizontal tab, e vertical tab).

function call

string ucwords( string $str )

test ucwords online




comments for ucwords

be the first

No comments so far for ucwords. Leave your's as first below.

+

Leave your comment