module.exports = function (str, query, position) {
  return str.substr(position, query.length) === query;
};

@@ -1,8 +1,570 @@
+/**%0ADoes a string start with another string?%0A%0A@module string/startsWith%0A@param %7Bstring%7D str The string to search through.%0A@param %7Bstring%7D query The string to find in %60str%60.%0A@param %7Bnumber%7D %5Bposition=0%5D The index to start the search. Defaults to the beginning of the string.%0A@returns %7Bbool%7D Does the string start with another string?%0A@example%0Avar startsWith = require('lildash/string/startswith');%0AstartsWith('food', 'foo');   // =%3E true%0AstartsWith('cake', 'foo');   // =%3E false%0AstartsWith('cake', 'k');     // =%3E false%0AstartsWith('cake', 'k', 2);  // =%3E true%0A*/%0A
 module.e

Add JSDoc documentation to string/startsWith