good day everyone,.
i want to replace a string and put the replaced string on a variable,.
ex.
$str = 'this is the oRiGiNaL text';
$find = 'original';
$replace = 'replaced';
output:
$str = 'this is the replaced text'; //the normal output of replacing text
$original = 'oRiGiNaL'; //the replaced text will be moved to a new variable and it's format/case is remain
thanks in advance,.
-regicide del feroz
Bookmarks