') { return str_replace($insertBefore, ' ' . $attribute . '="' . $value . '"' . $insertBefore, $string); }