Please answer this simple SPAM challenge: max(three, zero)? (Example: nine)
Simple but workable solution: <?php mb_internal_encoding("UTF-8"); // before calling the function function utf8_ucfirst($str){ preg_match_all("~^(.)(.*)$~u", $str, $arr); return mb_strtoupper($arr[1][0]).$arr[2][0]; } ?>
<< Back to user notes page