substr_replace()


Replacing Substrings
string substr_replace ( string str, string replacmnt, int start [, int len] )

replace the entire instance (say, by changing the ever-so-clichéd “Hello World!” into the more
“l33t” phrase “H3110 W0r1d!” and hence proving your “l33t” status), you could simply invoke

Detail….