Tilou
Déplier la navigation
PHP
Informations codes
Supprimer les espaces dans une chaine de caractère
Publié par
tilouco
le
28 janvier 2025
28 janvier 2025
function
no_space
(
string
$
s
)
:
string
{
$
s
=
str_replace
(
"
"
,
""
,
$
s
)
;
return
$
s
;
}
Catégories :
PHP
Articles similaires
Informations codes
Comparatif moyen if, else if
ou bien
Informations codes
Concaténation ajout du texte derrière un autre texte
PHP
Pierre papier ciseau
ou bien