The bug is not in removing the comma. It is elsewhere in your code.
In reply to Re: Bizzare comma bug by Anonymous Monk in thread Bizzare comma bug by simonodell