iCheddar is right. Always get an Apple branded one. But if it is fraying and it is relatively new, walk that sucker into an Apple store and complain. As much as I like Apple, their chargers have blown chunks for a while. I have had to exchange 3 of them in the last 5 years.