as the title - what is the equivalent of the trim() statement from vb in javascript please ?