New York slugger Yoenis Cespedes limped off in the fifth inning with a pain in his left hamstring and said he might be out for a few days.