Ucfirst

  • Ucfirst digunakan untuk mengubah karakter pertama suatu kalimat menjadi huruf besar.

    <?php
    $babeeee = "hehe ma weekend was fine... yeah first kinda sad lil bit but things r pretty gud now.. babeeee i dun wana do ma hw.. help me... im gona quit skul -.- jk.. well so hows ur weekend babe? doin anything fun without me? :P ";
    $babeeee  = ucfirst($babeeee);
    echo $babeeee;
    ?>
    

    Hasilnya kata pertama hehe akan berubah menjadi Hehe. Lihat juga Strtolower dan Strtoupper.

    Related posts:

    1. Ucwords Ucwords digunakan untuk mengubah karakter pertama setiap kata menjadi huruf...

    Back to top ↑

2 Responsesto “Ucfirst”

Comment page 1 of 1

Subscribe to this discussion via RSS

"write as if you were talking to a good friend (in front of your mother)."

.haveyoursay

Disclaimer: For any content that you post, you hereby grant to Anton the royalty-free, irrevocable, perpetual, exclusive and fully sublicensable license to use, reproduce, modify, adapt, publish, translate, create derivative works from, distribute, perform and display such content in whole or in part, world-wide and to incorporate it in other works, in any form, media or technology now known or later developed. Some rights reserved.