Charging cables being damaged is a usual occurrence. As soon as the rubber coating is broken, the wires inside the cable are exposed to even more damage. It does not have to end that way, you know. Simply follow this trick to protect your charging cables from taking a serious hit.
You must have noticed a spring in most click and write ballpoints. Just extract one of them from a pen which has run short on ink.
Stretch the spring sideways and attach it to the cable that you need protection for.
Twist the spring around the cable such that it firmly holds the cable. Doing this will make sure that the cable remains firm and upright. As a result, the wire will not be vulnerable to any serious damage in the future.
There you have it. Let us know how well this works for you.