Answers for "replace all substrings in php"

PHP
5

replace all php

$vowels = array("a", "e", "i", "o", "u", "A", "E", "I", "O", "U");
$onlyconsonants = str_replace($vowels, "", "Hello World of PHP");
// Fornece: Hll Wrld f PHP
Posted by: Guest on May-23-2020
0

string replace in php

str_replace in PHP
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language