Barack Obama actually said...
It was not a matter of if, it was a matter of when.
Context
Remarks at an Obama Victory Fund 2012 Fundraiser in Burlington
03/29/2012
Remarks at an Obama Victory Fund 2012 Fundraiser in Burlington