/ Published in: Ruby
Expand |
Embed | Plain Text
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
You need to login to post a comment.
