Revision: 6854
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 20, 2008 05:55 by tonic
Initial Code
def quita_acentos( texto) texto= texto.gsub('á', 'a') texto= texto.gsub('é', 'e') texto= texto.gsub('Ã', 'i') texto= texto.gsub('ó', 'o') texto= texto.gsub('ú', 'u') end
Initial URL
Initial Description
Initial Title
Función básica para eliminiar acentos en minúsculas
Initial Tags
rails, ruby
Initial Language
Ruby