On Mon, 2 Aug 2004 05:36:37 +0000 (UTC), "Bodysnatcher" strung together this:
Depends where it's snapped off, if there is enough in the switch you could just extend the wire using a butt crimp ideally, if you don't have the tools a choc-block type connector would suffice. If the cable is snapped of too short to extend it in the box then you'll need to either try and find a few inches of slack and pull it into the box or junction box it under the floor with a new piece into the box.