Function utf8_strcspn
UTF-8 aware alternative to strcspn Find length of initial segment not matching mask Note: requires utf8_strlen and utf8_substr (if start, length are used)
Package: utf8
See: http://www.php.net/strcspn
See:
Located at vendor/joomla/string/src/phputf8/strcspn.php
See: http://www.php.net/strcspn
See:
utf8_strlen()
Located at vendor/joomla/string/src/phputf8/strcspn.php
Parameters summary
string |
$str |
|
mixed |
$mask |
|
mixed |
$start = NULL |
|
mixed |
$length = NULL |
Return value summary
integer
|