<?php // $output = array_slice(array_merge(explode(' | ', $input), array(null)), 0, 2); $input = 'Hello'; $output = explode("|", "$input | ", 2); print_r($output);
You have javascript disabled. You will not be able to edit any code.