<?php $string = 'a|b|c'; $first = explode('|', $string)[0]; echo $first; ?>
You have javascript disabled. You will not be able to edit any code.