function pad (str, len) {
  str = String(str);
  return Array(len - str.length + 1).join(' ') + str;
}
Pad the given `str` to `len`.

@api private
@param {string} str
@param {string} len
@return {string}