title: Limiting characters retrived from a database field
body: <p>I am a novice when it comes to PHP.</p>
  
  <p>I am using Wordpress with ACF (Advanced Custom Fields), so any data I get from a field I use the code below:</p>
  
  <pre><code>echo $fieldname;
  </code></pre>
  
  <p>One of these fields is for information about something, what I want to do is limit the amount of characters retrieved so that only 150 character are displayed.</p>
  
  <p>Anyone have any idea how to do this?</p>