<?php $a = "test1"; $b = strpos($a, "b"); if($b!=FALSE) { $c = substr($a, $b, $b+2); echo $c; } else { echo "not found"; } ?>
You have javascript disabled. You will not be able to edit any code.