str_replace

 mixed str_replace ( mixed $search , mixed $replace , mixed $subject [, int &$count ] ) 

説明

This function returns a string or an array with all occurrences of search in subject replaced with the given replace value. If you don't need fancy replacing rules (like regular expressions), you should always use this function instead of preg_replace().

戻り値

This function returns a string or an array with the replaced values.