RosettaCodeData/Task/String-length/PHP/string-length-2.php
Ingy döt Net 68f8f3e56b all tasks
2013-04-11 01:07:29 -07:00

1 line
71 B
PHP

$length = mb_strlen('Hello, world!', 'UTF-8'); // or whatever encoding