Functions:replace
From Dwoo Docs
Replaces the search string by the replace string
replace(string $value, mixed $search, mixed $replace)
- value : the string to search into
- search : the string to search for or an array of strings
- replace : the string to use as a replacement or an array of strings (matching the search array)
Example:
{replace "abc" "b" "B"} or {"abc"|replace:array(a,c):array(A,C)}
Output:
aBc or AbC




