<?php $str1 = 'football'; $str2 = 'footboll'; $strPos = strspn($str1 , $str2); echo $str1[$strPos].'vs'. $str2[$strPos]; ?>
You have javascript disabled. You will not be able to edit any code.