lang/string.js
/**
		 * Adjusts a string, replacing the first character of each word with an uppercase
		 * character and all subsequent characters in the word with lowercase characters.
		 *
		 * @public
		 * @static
		 * @param {String} s
		 * @returns {String}
		 */
Adjusts a string, replacing the first character of each word with an uppercase
character and all subsequent characters in the word with lowercase characters.

@public
@static
@param {String} s
@returns {String}
Adjusts a string replacing the first character of each word with an uppercase character and all subsequent characters in the word with lowercase characters . @public @static @param { String } s @returns { String }
startCase(s) {
			return s.split(' ').reduce((phrase, word) => {
				if (word.length !== 0) {
					phrase.push(word.charAt(0).toUpperCase() + word.slice(1).toLowerCase());
				}
				return phrase;
			}, [ ]).join(' ');
		}
startCase ( s ) { return s . split ( ' ' ) . reduce ( ( phrase , word ) => { if ( word . length !== 0 ) { phrase . push ( word . charAt ( 0 ) . toUpperCase ( ) + word . slice ( 1 ) . toLowerCase ( ) ) ; } return phrase ; } , [ ] ) . join ( ' ' ) ; }
Adjusts a string, replacing the first character of each word with an uppercase
 character and all subsequent characters in the word with lowercase characters.
Adjusts a string replacing the first character of each word with an uppercase character and all subsequent characters in the word with lowercase characters .