<?php $str = 'Leggings Or Skinny Jeans'; // positive limit print_r(explode('or', $str, 2)); // negative limit (since PHP 5.1) print_r(explode('or', $str, -1)); ?>
You have javascript disabled. You will not be able to edit any code.