Answers for "php remover caracteres"

PHP
7

php remove text from string

<?php
  //Replace the characters "world" in the string "Hello world!" with "Peter":
echo str_replace("world","Peter","Hello world!");
?>
Posted by: Guest on April-16-2021
0

remove certain haracters from a string php

$string = preg_replace("/[aeiou]/", '', $string);
Posted by: Guest on September-26-2021

Browse Popular Code Answers by Language