String.trim

Started as a polyfill, but this PHP-like expansion will be more useful