I agree with Resqueline. NEVER splice mains cables.
It may work for a short time but when it is moved around, the contact will fail.
Remember, your life is in your hands.
If one end of the cable is not long enough to move the plug, then put in a new cable.