Ruby jeden Zeichen mit 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