Position actuelle: Accueil> Catégories de fonctions> lcfirst

lcfirst

Définissez le premier caractère de la chaîne en minuscules
Nom:lcfirst
Catégorie:Chaîne
Langage de programmation:php
Description en une ligne:Convertit le premier caractère de la chaîne en minuscules.

Exemple

Convertissez le premier caractère de "Hello" en minuscules:

 <span class="token php language-php"><span class="token delimiter important"><? Php</span>
<span class="token keyword">Echo</span> <span class="token function">lcFirst</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Hello World!"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Essayez-le vous-même

Fonctions similaires