removeEndSlashes = function ( string ) {
	return unleadingslashit( untrailingslashit( string ) );
}
Removes slashes from beginning and end of a string

@param string string     The string to remove slashes from