Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

PHP str_ends_with — Checks if a string ends with a given substring

<?php
if (str_ends_with('abc', '')) {
    echo "All strings end with the empty string";
}
?>
Source by www.tutsplanet.com #
 
PREVIOUS NEXT
Tagged: #PHP #Checks #string #ends #substring
ADD COMMENT
Topic
Name
2+6 =