How do I strip all spaces out of a string in PHP? The Problem How do I strip all spaces out of a string in PHP?