groups

name language licence
mailto with subject HTML Other
JavaScript Compressor - HTML HTML GPL 2
RapidWeaver Media Albums with prettyPhoto JavaScript Other
jQuery boiler plate JavaScript Other
sikbox Live Search JavaScript Other
jsPathto.min.js JavaScript Other
SearchInWindow JavaScript Other
JavaScript Compressor - JavaScript JavaScript GPL 2

< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 >



language: JavaScript
licence: GPL 2

JavaScript Compressor - JavaScript

options: view full snippetsend to code collector
// JavaScript string handling library
var lib = lib || {};

lib.String = function() {

	var reTrim = /^\s*|\s*$/g;

	// string trim
	function Trim(str) {
		return String(str).replace(reTrim, "");
	}
	
	// public functions
	return {
		Trim: Trim
	
(Continues...)