Ruby à chaque char avec index
length = sentence.length
sentence.each_char.with_index(1){|char, i|
if i == length
...
end
Terrible Turkey
length = sentence.length
sentence.each_char.with_index(1){|char, i|
if i == length
...
end