Returns an array of successive items from coll while pred(item) returns true.