<?php $var = "1572|906|1573"; list($first) = explode('|', $var); echo $first;
You have javascript disabled. You will not be able to edit any code.