PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
caribe
/
libraries
/
phputf8
<?php /** * @version $Id$ * @package utf8 * @subpackage strings */ //--------------------------------------------------------------- /** * UTF-8 aware substr_replace. * Note: requires utf8_substr to be loaded * @see http://www.php.net/substr_replace * @see utf8_strlen * @see utf8_substr */ function utf8_substr_replace($str, $repl, $start , $length = NULL ) { preg_match_all('/./us', $str, $ar); preg_match_all('/./us', $repl, $rar); if( $length === NULL ) { $length = utf8_strlen($str); } array_splice( $ar[0], $start, $length, $rar[0] ); return join('',$ar[0]); }
[+]
..
[-] index.html
[edit]
[-] LICENSE
[edit]
[+]
mbstring
[+]
native
[-] ord.php
[edit]
[-] README
[edit]
[-] strcasecmp.php
[edit]
[-] strcspn.php
[edit]
[-] stristr.php
[edit]
[-] strrev.php
[edit]
[-] strspn.php
[edit]
[-] str_ireplace.php
[edit]
[-] str_pad.php
[edit]
[-] str_split.php
[edit]
[-] substr_replace.php
[edit]
[-] trim.php
[edit]
[-] ucfirst.php
[edit]
[-] ucwords.php
[edit]
[-] utf8.php
[edit]
[+]
utils
[-] .htaccess.disabled
[edit]