html/scripts/highchart/modules/data.src.js
function (str, inside) {
		if (typeof str === 'string') {
			str = str.replace(/^\s+|\s+$/g, '');

			// Clear white space insdie the string, like thousands separators
			if (inside && /^[0-9\s]+$/.test(str)) { 
				str = str.replace(/\s/g, '');
			}

			if (this.decimalRegex) {
				str = str.replace(this.decimalRegex, '$1.$2');
			}
		}
		return str;
	}
function (str, inside) {
		if (typeof str === 'string') {
			str = str.replace(/^\s+|\s+$/g, '');

			// Clear white space insdie the string, like thousands separators
			if (inside && /^[0-9\s]+$/.test(str)) { 
				str = str.replace(/\s/g, '');
			}

			if (this.decimalRegex) {
				str = str.replace(this.decimalRegex, '$1.$2');
			}
		}
		return str;
	}
function ( str , inside ) { if ( typeof str === 'string' ) { str = str . replace ( / ^\s+|\s+$ / g , '' ) ; // Clear white space insdie the string, like thousands separators if ( inside && / ^[0-9\s]+$ / . test ( str ) ) { str = str . replace ( / \s / g , '' ) ; } if ( this . decimalRegex ) { str = str . replace ( this . decimalRegex , '$1.$2' ) ; } } return str ; }
Trim a string from whitespace
Trim a string from whitespace