Please login to start chat

ICT Solutions 2019-01-19 13:03:41
Category : php tutorials

String replace in php

<?php
$string = 'I am thet naing win';
$find = array('thet', 'naing', 'win');
$replace = array('THET', 'NAING', 'WIN');
$string_new = str_replace($find, $replace, $string);
echo $string_new;
?>

Comments:

No comment to show.

Available Services
Download Android Application