title: Codeigniter - Character Limiter not working
body: <p>I am echoing a users first name in the header. I have a test first name with many characters.
  For eg:</p>
  
  <pre><code>$firstname = "asdfasdfasdfjkljldkafjsddfjakdsjflaksjdfl"
  </code></pre>
  
  <p>I'm doing</p>
  
  <pre><code> &lt;?php  $first_name = character_limiter($first_name, 10);  
  echo $firstname;?&gt;
  </code></pre>
  
  <p>But It's not working. It displays all the characters (<code>asdfasdfasdfjkljldkafjsddfjakdsjflaksjdfl</code>) instead of only first 10 characters.</p>
  
  <p>I only want to see teh first 10 characeters. How can I fix this?</p>