API17:JString::str ireplace
From Joomla! Documentation
JString::str_ireplace
Description
UTF-8 aware alternative to str_ireplace Case-insensitive version of str_replace.
public static function str_ireplace (
$search
$replace
$str
$count=NULL
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $search | string | string to search | |
| $replace | string | existing string to replace | |
| $str | string | new string to replace with | |
| $count | int | NULL | optional count value to be passed by referene |
- Returns
- Defined on line 161 of libraries/joomla/utilities/string.php
- Referenced by
See also
JString::str_ireplace source code on BitBucket
Class JString
Subpackage Utilities- Other versions of JString::str_ireplace
User contributed notes
Code Examples