Created
August 7, 2019 18:28
-
-
Save parzibyte/fef96cc71dae229c13b98db822166630 to your computer and use it in GitHub Desktop.
Primera letra mayúscula en PHP - https://parzibyte.me/blog/2018/10/16/primera-letra-mayuscula-minuscula-php/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$saludo = "hola"; | |
# Imprime Hola | |
echo ucfirst($saludo); | |
$oracion = "el perro juega con la pelota"; | |
# Imprime El perro juega con la pelota | |
echo ucfirst($oracion); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment