2 tips I've learnt from here, one is to heat the cable with a lighter and cut, this will keep the cable together or a dab of super glue also works. I've tried soldering in the past with no success as I think you need a really hot iron and a particular solder.