Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1a 7/7/83; site rlgvax.UUCP Path: utzoo!linus!decvax!harpo!seismo!rlgvax!guy From: guy@rlgvax.UUCP (Guy Harris) Newsgroups: net.lang.c Subject: Re: Question about toupper and tolower Message-ID: <1389@rlgvax.UUCP> Date: Fri, 11-Nov-83 09:43:25 EST Article-I.D.: rlgvax.1389 Posted: Fri Nov 11 09:43:25 1983 Date-Received: Sun, 13-Nov-83 04:53:17 EST References: <1764@fortune.UUCP> <300@bbncca.ARPA> Organization: CCI Office Systems Group, Reston, VA Lines: 7 Turning the 040 bit on and off will correctly map a mixed-case alphabetic string to one case, but it will not work on all non-alphabetic characters. If one is not guaranteed that the string does not contain those characters, one would still have to do an isalpha() on the character before mapping. Guy Harris {seismo,ihnp4,allegra}!rlgvax!guy