String Search

1) strpos or stripos— strpos find the position of firstoccurance of string and returns false if string is not found. String position starts with 0 so dont compare with 0 for finding string $a = ‘How arEd you?’; if(strpos($a,’are’)!==false) {…