Tero

[+] Make first character uppercase

Aug 4th, 2017
397
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.08 KB | None | 0 0
  1. function uctitle($str) {
  2.     $str = ucfirst(strtolower($str));
  3.     return $str;
  4. }
Advertisement
Add Comment
Please, Sign In to add comment