Re: how to find if a string is part of an other string
Posted by myname on 10/12/05 12:49
nescio wrote:
> is there a way to find if a string is part of an other string:
>
> and then something like:
> if($a is part of $b)then{
> something;
> }else{
> something else;
> }
if(strpos($b, $a) !== false){
// a is present in b
}else{
// no
}