Converter String para Maiúsculas
Publicado por Tiago Mendes 05/03/2007
[ Hits: 7.347 ]
Homepage: http://tsouza.wordpress.com
Função para converter STRINGS em maiúsculas, incluindo acentos.
<? function converteMaiusculo($string) { $string = strtoupper ($string); $string = str_replace (”â”, “”, $string); $string = str_replace (”á”, “Á”, $string); $string = str_replace (”ã”, “Ô, $string); $string = str_replace (”à”, “A”, $string); $string = str_replace (”ê”, “Ê”, $string); $string = str_replace (”é”, “É”, $string); $string = str_replace (”Δ, “I”, $string); $string = str_replace (”í”, “Í”, $string); $string = str_replace (”ó”, “Ó”, $string); $string = str_replace (”õ”, “Õ”, $string); $string = str_replace (”ô”, “Ô”, $string); $string = str_replace (”ú”, “Ú”, $string); $string = str_replace (”Û”, “U”, $string); $string = str_replace (”ç”, “Ç”, $string); return $string; } ?>
Função para remover acentuação de uma string
Como gerar um podcast a partir de um livro em PDF
Automatizando digitação de códigos 2FA no browser
Resolver problemas de Internet
Como compartilhar a tela do Ubuntu com uma Smart TV (LG, Samsung, etc.)
Músicas de Andrew Hulshult no DOOM (WAD)
Instalar o Apache, MySQL e PHP no Oracle Linux 8
Bloqueando telemetria no Deepin 23.1
Como converter imagens PNG/JPEG para SVG em linha de comando
Fez porcaria no teu repositório Git? Aprenda a restaurar uma versão anterior do seu código!
Impossível ativar audio 5.1 (2)
Alguém pode me explicar essa matemática? (1)