K10 Heater Controls

I have a 2002 K10 but the heater flap controls are broken. I have a donor vehicle but I cannot work out how to remove the clips at the end of the control cables in a way that I would be able to replace them. Has anyone any advice please?