<?php function match($haystack, $needle) { return strpos($haystack, $needle) !== FALSE; } echo match("test string", "test"); echo match("string test test string", " test ");
You have javascript disabled. You will not be able to edit any code.