Hi !!! How are you Skroll29.
I was using the operator :
to make first letter of each word, transform in upper case and work well, only if the word are in small case.
Perhaps for next version, you can include this trick at ucwords function.
case 18: $CurrVal = ($Loc->OpeUtf8) ? mb_convert_case($CurrVal, MB_CASE_TITLE, 'UTF-8') : ucwords(strtolower($CurrVal)); break;
|
It just a comment, Thanks a Lot
<?php
$foo = 'hello world!';
$foo = ucwords($foo); // Hello World!
$bar = 'HELLO WORLD!';
$bar = ucwords($bar); // HELLO WORLD!
$bar = ucwords(strtolower($bar)); // Hello World!
?>
|