DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
2+1 =
Submit