it did not really end my compulsion, but I generally found it easier to not bite for longer stretches of time and I bit my nails less while on the medication than I do off of it. It still too a concerted effort to stop and maintain stopping.
to be honest I don’t know if I noticed the lessening of my compulsions as much on the medication as much as I noticed how much worse they were once I went off of the medication.
sorry for the very unsatisfactory answer to your reasonable question. I did have some success with trying to replace the behavior, I tried knitting, and painting my nails specifically so I could chip off the nail polish, and snacking on things like sunflower seeds. To be honest none of them really satisfy the compulsion, but it can help keep your hands and mouth busy with something besides biting.