From: David Alan Black Date: 2002-01-22T03:11:32+09:00 Subject: RE: Return the ASCII code ? Hi -- On Tue, 22 Jan 2002, Jack Dempsey wrote: > i've always wondered what that question mark did :-) > and i knew there had to be something simpler than 'a'[0] Yes, though the ? only works with character literals (or perhaps various eval tricks). Whereas you can do: str = "Hi" str[0] David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav