src/shims/moxie/js/moxie-swf.js
function(str) {
		if (!str) {
			return str;
		}
		return String.prototype.trim ? String.prototype.trim.call(str) : str.toString().replace(/^\s*/, '').replace(/\s*$/, '');
	}
function(str) {
		if (!str) {
			return str;
		}
		return String.prototype.trim ? String.prototype.trim.call(str) : str.toString().replace(/^\s*/, '').replace(/\s*$/, '');
	}
function ( str ) { if ( ! str ) { return str ; } return String . prototype . trim ? String . prototype . trim . call ( str ) : str . toString ( ) . replace ( / ^\s* / , '' ) . replace ( / \s*$ / , '' ) ; }
Trims white spaces around the string

@method trim
@static
@param {String} str
@return {String}
Trims white spaces around the string