Mega Code Archive
Categories
/
Php
/
Strings
By supplying no start or length arguments, the string will be added to the beginning
"; //Echos H3110 W0r1d!Hello World $mystring = substr_replace("Hello World", "0 w0", 4, 4); echo $mystring; //Echos Hell0 w0rld. ?>