Text Functions MSOfficeExcel 2007 Tutorial

Input the formula: =SUBSTITUTE("a b c f", " ",",")