If a String Contains a Specific Word in PHP

121

If a String Contains a Specific Word in PHP -

if (str_contains('How are you', 'are')) { 
    echo 'true';
}

Comments

Submit
0 Comments