PHP Extracting End Of String With Substr() – String Function

<?
print 'Card: XX';
print substr("this is a test. this is a test",-4,4);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.