This 40-pin FFC / FPC Extender is very simple. It lets you connect two 40-pin 0.5mm pitch FFC (Flexible Flat Cable) / FPC (Flexible Printed Circuit) cables end-to-end and extend the length.
Note that pin 1 of one cable is connected to pin 40 of the other so you need to use a cable that has contacts on the same side (type A cable)
Carefully pry the two ears of the connectors, plug the cables with contacts pointing up, and then push the ears back in for a solid connection.
We also a 24-pin 0.5mm version.