Hey guys my question is simple how can i check if a word contains a series of characters.
Exemple : Check if IAmATest
as Test
in it ... ?
[email protected]
--> gmail.com
= true
[email protected]
--> gmail.com
= false
Hey guys my question is simple how can i check if a word contains a series of characters.
Exemple : Check if IAmATest
as Test
in it ... ?
[email protected]
--> gmail.com
= true
[email protected]
--> gmail.com
= false
if (strpos('[email protected]', 'gmail.com') !== false) {
// word contains characters
} else {
// word doesn't contains characters
}