# replace
Replaces all occurrences of $search in $str by $replacement.

## Description
`static replace(string|array $search, string|array $replacement, bool $caseSensitive = 1)`

### Parameters
* _string|array_ __$search__  
The needle to search for.

* _string|array_ __$replacement__  
The string to replace with.

* _bool_ __$caseSensitive__  
To enforce case-sensitivity or not.


### Return Value
_static_  
String after the replacements.