<?php $s = "ab"; $s1 = "cAbfAbe"; $s2 = $s1; do { $s2 = stristr($s2,$s); echo "$s2"."\n"; $s2 = substr($s2,0,count($s)+1).".\n"; echo "$s2"."\n"; } while ($s2 != false);
You have javascript disabled. You will not be able to edit any code.