here is the image to explain it
<div id="tshirt">
<div id="text-wrapper">
<p id="tshirtover">Nothing is impossible unless we try it</p>
</div>
</div>
Is there any way to find the length of the first line?
I tried below jQuery function. It's giving the entire length of the string.
$("#tshirtover").text().length;
But i need to find only the first line. Is it possible to get it?