--vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 17, 2000 at 04:15:35AM +0900, Joseph McDonald wrote: > > k (?A..?k).each{|x|k+; k > > > > ... yields 43, and I think that makes sense. How does it work for > > strings? > > Can you explain why that works please? This works because ?<char> is the ASCII value, not the string, so doing something like: (?A..?k) is the same as, (65..107) ttyl, -- Josh Huber 1024D/6B21489A 61F0 6138 BE7B FEBF A223 E9D1 BFE1 2065 6B21 489A --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjo7xA4ACgkQv+EgZWshSJrwggCfUONEeETTiW5rLEqs0LfXPwZA nZgAoMbKvAESbOeCY6WFOKcNGyNiDtV3 lc -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--