Hide long text in table but keep access to it

I'm trying to cut a long text in a <td> but keep access to the data inside it. Maybe like on mobile by clicking and dragging inside the area.

I've done a post on stackoverflow for more details.

enter image description here


I didn't find any good UX alternative if I want to keep a fixed width in my <td>. Any ideas of what can be achieved ? Is it a good way to do it ?

Any live examples on how some websites deals with that ?