Description
Replaces item in string with new string (similar to PHP's preg_replace
).
SCSS Usage
string-replace($string, $search, $replace)
Parameter | Required? | Value |
---|---|---|
$string |
Yes | String to search and replace within |
$search |
Yes | Item to replace |
$replace |
Yes | What to replace with |
And so, in SCSS: