function trimLeft(str) {
  return (str ? str : '').toString().replace(controlOrWhitespace, '');
}
Remove control characters and whitespace from the beginning of a string.

@param {Object|String} str String to trim.
@returns {String} A new string representing `str` stripped of control
    characters and whitespace from its beginning.
@public