Remove the spaces from the following sentence: In this work he claimed, as had Kepler , that movement depends on the action of a spirit.
Inthisworkheclaimed,ashadKepler,thatmovementdependsontheactionofaspirit.