title: How can I get the last 7 characters of a PHP string?
body: <p>How would I go about grabbing the last 7 characters of the string below?</p>
  
  <p>For example:</p>
  
  <pre><code>$dynamicstring = "2490slkj409slk5409els";
  $newstring = some_function($dynamicstring);
  echo "The new string is: " . $newstring;
  </code></pre>
  
  <p>Which would display:</p>
  
  <pre class="lang-none prettyprint-override"><code>The new string is: 5409els
  </code></pre>