Block Heater Replacement

How far away from where it attaches to the heater on the block is the frayed section? Can you cut the cord above the frayed spot and splice a new AC cord into it?