﻿String.prototype.trim = function() 
{ 
     return this.replace(/^\s*([\S\s]*?)\s*$/, '$1');
};
