Nancy, most of these today are for use on lamp cord wire that is still complete and in one piece. I think that you will have to replace the wire. The manufacturers have done a great job of making things like the roll switch that installs with a minimum of effort but switches for what you envision are more difficult to find because of that.