<?php $str = 'one|two|three|four'; // positive limit print_r(explode('|', $str, 3)); // negative limit (since PHP 5.1) print_r(explode('|', $str, -2));
You have javascript disabled. You will not be able to edit any code.