title: Add "read full article" link when an article exceeds the word limit by using the "text helper" class in CodeIgniter
body: <p>I'm using the text helper class in CodeIgniter and want to create an if/else-statement to check if an article is longer than, let's say, 20 words so that I can add a "read the full article" link when articles exceeds this limit. However, I'm not sure how to proceed using this particular function and if it's even possible without creating a new function. Any ideas on how to resolve my issue?</p>
  
  <pre><code>&lt;div class="col-md-8"&gt;
  &lt;?php foreach ($company_reviews as $review) {
      $rating = $review-&gt;company_reviews_rating;
      $comment = word_limiter($review-&gt;company_reviews_comment, 10);
   ?&gt;
  &lt;div class="review-box"&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-sm-3"&gt;
        &lt;a href="/member/?id=&lt;?= $review-&gt;id;?&gt;"&gt;&lt;?= $review-&gt;first_name; ?&gt; &lt;?= $review-&gt;last_name; ?&gt;&lt;/a&gt;
      &lt;/div&gt;
      &lt;div class="col-sm-9"&gt;
        &lt;?php echo get_stars($rating); ?&gt;
        &lt;h4&gt;&lt;?= $review-&gt;company_reviews_title; ?&gt;&lt;/h4&gt;
        &lt;?= $comment; ?&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;?php } ?&gt;
  &lt;/div&gt;
  </code></pre>