San Francisco right-hander Matt Cain left in the second inning Friday night against Colorado with a strained right hamstring. Cain appeared to be in some discomfort after throwing his 26th pitch of the game. Righty Albert Suarez took his place on the mound.