search for: 9d09f5d5

Displaying 1 result from an estimated 1 matches for "9d09f5d5".

Did you mean: 9d09c5d
2006 Mar 14
9
Can you better this String acronym method?
Can you better this String acronym method? def acronym name letters=[] name.each_char {|char| letters<<char if char[0]>=65 and char[0]<=90} acronym = letters.join " " end chris -- Posted via http://www.ruby-forum.com/.