Posted By

radarseven on 08/20/09


Tagged

String text case


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

vali29
umang_nine


PHP String Case Manipulation


 / Published in: PHP
 

  1. <?php
  2. $string = "i like to program in PHP";
  3. $a = strtoupper($string);
  4. $b = strtolower($string);
  5. $c = ucfirst($string);
  6. $d = ucwords($string);
  7. $e = ucwords(strtolower($string));
  8. ?>

Report this snippet  

You need to login to post a comment.