strlen() no longer "works":
<?php
$str = "Vær så god!";
echo "The string has length: ", strlen($str);
?>
Output:
The string has length: 13
substr() may mangle text:
<?php
$str = "Vær så god!";
echo "The first 7 characters are: ", substr($str, 0, 7);
?>
Output:
The first 7 characters are: Vær sÃ
wordwrap() wraps too early:
<?php
$str = "Vær så god!";
echo wordwrap($str, 6, '|');
?>
Output:
Vær|så|god!