<?php $string = 'p055255'; echo substr($string, 0,10); ?>
You have javascript disabled. You will not be able to edit any code.