Hi
i have two strings:
a="Hello its me here."
b="me"
now i want to check if b is in a or not?
now in this case b is in a
how can i check this?
thanks.
string function
Moderator: General Moderators
- Gente
- Forum Contributor
- Posts: 252
- Joined: Wed Jun 13, 2007 9:43 am
- Location: Ukraine, Kharkov
- Contact:
Code: Select all
<?php
$mystring = 'abc';
$findme = 'a';
if (strpos($mystring, $findme) !== false)
{
echo 'Yahoo';
}
?>