DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
PHP str_starts_with — Checks if a string starts with a given substring
<?php if (str_starts_with('abc', '')) { echo "All strings start with the empty string"; } ?>
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#PHP
#Checks
#string
#starts
#substring
ADD COMMENT
Topic
COMMENT
Name
1+6 =
Submit