JString::substr_replace
UTF-8 aware substr_replace Replace text within a portion of a string
Signature
public function substr_replace(string
$str,
[string
$repl = null,
[integer
$start = null,
[integer
$length = null]]] )
Parameters
-
$str
- The haystack
-
$repl
- The replacement string
-
$start
- Start
-
$length
- Length (optional)
Returns
- string