title: Limiting a variable to display only 50 characters
body: <p>How can I limit the anchor text below to show only 50 characters?</p>
  
  <pre><code>echo '&lt;td style="" class="pointlink"&gt;&lt;span class="pointlink"&gt;&lt;a href="http://'.$rowad["1site"].'"&gt;'.$rowad["1site"].'&lt;/a&gt;&lt;/td&gt;';
  </code></pre>