Développement Web

strtoupper()

Fonction ucwords()

La fonction ucwords retourne la chaîne de caractère $string en passant la première lettre de chaque mot de cette chaîne en majuscule. Utilisation de la fonction ucwords() La signature de la fonction ucwords est la suivante : ucwords ( $string ); $string = ' fonction ucwords en ...

Fonction ucfirst()

La fonction ucfirst retourne la chaîne de caractère $string en passant la première lettre de cette chaîne en majuscule. En combinant cette fonction avec la fonction strtolower, on peut alors récupérer une chaîne de caractères entièrement en minuscule et commençant cependant par une majuscule. ...

Fonction strtoupper()

La fonction strtoupper retourne la chaîne de caractère $string en majuscule. Utilisation de la fonction strtoupper() La signature de la fonction strtoupper est la suivante : strtoupper ( $string ); $string = ' fonction strtoupper '; echo strtoupper( $string ); /* ...

Fonction strtolower()

La fonction strtolower retourne la chaîne de caractère $string en minuscule. Utilisation de la fonction strtolower() La signature de la fonction strtolower est la suivante : strtolower ( $string ); $string = ' FONCTION strtolower '; echo strtolower( $string ); /* ...