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