Extract a fixed number of chars from an array, just full words
<p>Hey there, 
I have a custom text inside a variable:</p>

<pre><code>$myvar = 'this is my custom text, it is a very long text so be patiente, take care!";
</code></pre>

<p>I need to display lets say the first 100 chars from $myvar, but i need full words.
For example:
this is my custom text, it is a ver... (i don't want to cut words when i extract)</p>

<p>How can i do this?</p>

<p>Thank you!</p>
