A little solution for Ruby :) this was fun!
strength = 0
alphabet = ('a'..'z').to_a
word.split('').each do |i|
strength = strength + (alphabet.index(i) + 1)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.