All very groovy stuff! The final version I think I shall use is a bit
of an amalgam of your input.
def randString(len)
s = ""
1.upto(len) { s << rand(36).to_s(36) }
s.upcase
end
At one point I had "unless len < 1" but this functions the same way.
Thanks again, everyone!
--
Posted via http://www.ruby-forum.com/.