PHP: trim - Manual
PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.