+ 1

How can you output how many letters are in a string in Ruby

for ex if someone input the string "dog" I want it to output 3 or elephant would output 8

14th Feb 2018, 9:26 PM
willymynillyGaming
willymynillyGaming - avatar
1 Answer