<HEAD> <TITLE> clear_bit - zero a bit in a bit string </TITLE> </HEAD> <BODY BACKGROUND=http://www.imaginary.com/~beek/gifs/bg.jpg TEXT=#000000 ALINK=#FFFF00 VLINK=#550000 LINK=#000099> <center> <H1> clear_bit - zero a bit in a bit string </H1> </center> <p> <b> string clear_bit( string str, int n ); </b> <p> Return the new string where bit 'n' is cleared in string 'str'. Note that the old string 'str' is not modified. See set_bit() for information on the format of the string. <p> See also: <A HREF=set_bit.html> set_bit </A>, <A HREF=test_bit.html> test_bit </A> <p> <HR> <ADDRESS> <A HREF=http://wagner.princeton.edu/~tim> Tim Hollebeek </A> <p> <A HREF="http://www.imaginary.com/~beek/"> Beek </A>@ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere </ADDRESS>