substr_replace

Example

 mixed substr_replace ( mixed $string , mixed $replacement , mixed $start [, mixed $length ] ) 

Description

substr_replace() replaces a copy of string delimited by the start and (optionally) length parameters with the string given in replacement.

Return Values

The result string is returned. If string is an array then array is returned.