PHP Substr_replace function

<?php
$find = array ('is','string','example');
$replace = array ('IS','STRING','EXAMPLE');

$string = 'This is a string, and is an example.';
$string_new = str_replace($find,$replace, $string);

echo $string_new;


?>


Comments

Popular posts from this blog

কৃষি বিষয়ক সম্পর্কিত ABBREVIATION কৃষি সম্প্রসারণ অধিদপ্তরের নিয়োগ পরীক্ষা জন্য বাছাই করা সাজেশন

ডাটাবেজ ম্যানেজমেন্ট সিস্টেম পার্ট – 01

Bijoy Bayanno 2014 :: 1 Click Download বিজয় বাহান্নো