How long is the ps4 charging cable

Solved: My PS4 controller will not charge - PlayStation Forum
ThePS4 controller i recived with the system worked great. Then about a week ago it stopped charging. I have tried using both cables in both USB slots making sure the connection is snug on both ends and still nothing.

7 Ways to Fix PS4 Controller Not Charging Issue (Solved)
PS4 controller isthe steering wheel for a PS4 console and the whole gaming experience becomes useless when the controller malfunctions or stops