The world's largest retailer on Thursday topped Wall Street's earnings expectations during the latest quarter, and lifted the lower end of its full-year guidance.

While Wal-Mart's revenue eked out another gain, its sales fell short of what analysts were expecting, as foreign exchange headwinds weighed, and it recorded a slight miss on domestic comparable sales growth.