Replacing letters in string with their numeric position in the alphabet in ruby

前端 未结 0 717
小蘑菇
小蘑菇 2021-01-27 22:52

I\'m trying to make a method that, given a string, replaces every letter with its position in the alphabet.

If anything in the text isn\'t a letter, I want to ignore it a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题