Search
 
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
Name
9+1 =