src/Str.php
public function replace($search, $replacement, &$count = 0)
	{
		return $this->getNew(str_replace($search, $replacement, $this->str, $count));
	}
public function replace($search, $replacement, &$count = 0)
	{
		return $this->getNew(str_replace($search, $replacement, $this->str, $count));
	}
public function replace ( $ search , $ replacement , & $ count = 0 ) { return $ this -> getNew ( str_replace ( $ search , $ replacement , $ this -> str , $ count ) ) ; }
Replaces occurrences of search in string by replacement.

@uses str_replace()

@param  string|array|\Tea\Contracts\Regex\RegularExpression  $search
@param  string|array  $replacement
@param  int           $limit
@param  int           &$count

@return \Tea\Uzi\Str
Replaces occurrences of search in string by replacement .