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