function str replace

str_replacePHP ManualPrevNextstr_replacestr_replace -- Replace all occurrences of needle in haystack with str. Descriptionstring str_replace(string needle, string str, string haystack); This function replaces all occurences of needle in haystack with the given str. If you don't need fancy replacing rules, you should always use this function instead of ereg_replace(). Example 1. Str_replace() example 1  2 $bodytag = str_replace ("%body%", "black", "<body text=%body%>"); 3  This function is binary safe. Note: Str_replace() was added in PHP 3.0.6, but was buggy up until PHP 3.0.8. See also ereg_replace() and strtr(). PrevHomeNextstrtoupperUpstrtr
Wyszukiwarka

Podobne podstrony:
function str replace
function str replace
str replace
function domnode replace child
function str word count
function str pad
function domnode replace node
function dba replace
function preg replace
function preg replace
function str rot13
function substr replace
function str shuffle
function str repeat

więcej podobnych podstron