javascript string functions trim code example Example: javascript whitespace strip yourvariable.trim()