February 2013
Intermediate to advanced
538 pages
20h 55m
English
substr_replace
string substr_replace(mixedstring, mixedreplace, mixedoffset[, mixedlength])
Replaces a substring in string with
replace. The substring replaced is selected
using the same rules as those of substr(). If string is an array,
replacements take place on each string within the array. In this case,
replace, offset,
and length can either be scalar values,
which are used for all strings in string,
or arrays of values to be used for each corresponding value in
string.
Read now
Unlock full access