<?php $str = 'one|two|three|four'; // will output an array print_r(explode('|', $str, 2));
<span>this is a label</span>