<?php $haystack = 'school'; $pattern = 'sch'; $match = strstr($haystack, $pattern); $result = strlen($match) - strlen($pattern); ?>
You have javascript disabled. You will not be able to edit any code.