print_r(explode('|', 'Foo|bar|baz', 2));
print_r(explode('bar', 'Foo|bar|baz', 2));

Array ( [0] => Foo [1] => bar|baz ) Array ( [0] => Foo| [1] => |baz )