CHICAGO (AP) -- GrubHub Inc. (GRUB) on Thursday reported second-quarter net income of $12.8 million.

On a per-share basis, the Chicago-based company said it had profit of 15 cents. Earnings, adjusted for one-time gains and costs, came to 23 cents per share.

The results exceeded Wall Street expectations. The average estimate of 11 analysts surveyed by Zacks Investment Research was for earnings of 19 cents per share.

The online food ordering service posted revenue of $120.2 million in the period, which also topped Street forecasts. Six analysts surveyed by Zacks expected $114.3 million.

For the current quarter ending in October, GrubHub said it expects revenue in the range of $116 million to $119 million.

The company expects full-year revenue in the range of $480 million to $488 million.

GrubHub shares have climbed 27 percent since the beginning of the year. The stock has decreased almost 1 percent in the last 12 months.

--Associated Press.