<?php $string = '123|456|789|0'; $string = substr($string, 1, strpos($string, '|')); echo $string;
You have javascript disabled. You will not be able to edit any code.