Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php replace string

<?php 
  $string = "Hello PHP";
  $replace = str_replace("PHP", "JS", $string);
  echo $replace; // Hello JS
?>
 
PREVIOUS NEXT
Tagged: #php #replace #string
ADD COMMENT
Topic
Name
7+8 =