1 var createCompounder = require('./_createCompounder'),
2 upperFirst = require('./upperFirst');
6 * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).
12 * @param {string} [string=''] The string to convert.
13 * @returns {string} Returns the start cased string.
16 * _.startCase('--foo-bar--');
19 * _.startCase('fooBar');
22 * _.startCase('__FOO_BAR__');
25 var startCase = createCompounder(function(result, word, index) {
26 return result + (index ? ' ' : '') + upperFirst(word);
29 module.exports = startCase;