Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

str_contains — Determine if a string contains a given substring

<?php
if (str_contains('abc', '')) {
    echo "Checking the existence of the empty string will always return true";
}
?>
 
PREVIOUS NEXT
Tagged: #Determine #string #substring
ADD COMMENT
Topic
Name
4+2 =