title: how to skip some words in a paragraph by php
body: <p>i have a paragraph in the database its like </p>
  
  <blockquote>
    <p>$str ="this is a paragraph i show shortly and when i click on the view more it will show completely for that i am using the ajax and retrieve it  "</p>
  </blockquote>
  
  <p>i show this like </p>
  
  <blockquote>
    <p>this is a paragraph i show shortly</p>
  </blockquote>
  
  <p>php for show the first some word is </p>
  
  <pre><code>function chop_string($str, $x)// i called the function  
  {
      $string = strip_tags(stripslashes($string)); 
      return substr($string, 0, strpos(wordwrap($string, $x), "\n"));
  }
  </code></pre>
  
  <p>and when user click on the <code>view more</code> it will display rest of it but the problem it that how to skip this <code>this is a paragraph i show shortly</code>   and show the rest of it </p>
  
  <p>i want to show the paragraph after the <code>$x</code> on click on <code>view more</code></p>