Page MenuHomePhabricator

function phutil_utf8_strlen($string)
libphutil Technical Documentation (Core Utilities)

Find the character length of a UTF-8 string.

Parameters
string$stringA valid utf-8 string.
Return
intThe character length of the string.