From: Albert Schlef Date: 2013-06-09T20:56:57+09:00 Subject: Re: How do I write a method, which returns whether the letters in a word occur in alphabetical order Tario C. wrote in post #1111683: > How do I write a method, which returns whether the letters in a word > occur in alphabetical order? Tip: you can use recursion -- check only the first two characters of the string, then ask your function to check the rest. (It won't really be efficient in Ruby, because strings aren't lists, but it'd be cute. (On the other hand, splicing a string in Ruby perhaps uses copy-on-write so it may not be inefficient.)) -- Posted via http://www.ruby-forum.com/.