ignore startiing white spaces from string in javascript code example Example: javascript whitespace strip yourvariable.trim()