string clear_bit( string str, int n );
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.
Beek @ZorkMUD, Lima Bean, IdeaExchange, TMI-2, and elsewhere