Neil Conway wrote:
> David Helgason <david(at)uti(dot)is> writes:
> > I needed these, so I went and implemented them myself.
>
> I didn't see any followup to this: do we want to include this in the
> main tree, contrib/, or not at all?
getbit sounds a lot like what substring() does. So perhaps setbit could
actually be handled by replace()? That would be a more general
solution (since it would handle more than one bit at a time).