Posted By

wesleymacente on 09/17/10


Tagged

php uppercase lowercase


Versions (?)

Funcão converte Maiúscula e Minuscula


 / Published in: PHP
 

  1. function uppercase($string)
  2. {
  3. $palavra = strtr(strtoupper($string),"àáâãäåæçèéêëìíîïðñòóôõö÷øùüúþÿ","ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÜÚÞß");
  4. return $palavra;
  5. }
  6.  
  7.  
  8.  
  9. function lowercase($string)
  10. {
  11. return strtolower($string);
  12. }

Report this snippet  

You need to login to post a comment.