/ Published in: Ruby
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
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
Comments
 Subscribe to comments
                    Subscribe to comments
                
                