public/ckeditor/4.4dev/core/tools.js
function( str, keepCase ) {
			return str.charAt( 0 ).toUpperCase() + ( keepCase ? str.slice( 1 ) : str.slice( 1 ).toLowerCase() );
		}
function( str, keepCase ) {
			return str.charAt( 0 ).toUpperCase() + ( keepCase ? str.slice( 1 ) : str.slice( 1 ).toLowerCase() );
		}
function ( str , keepCase ) { return str . charAt ( 0 ) . toUpperCase ( ) + ( keepCase ? str . slice ( 1 ) : str . slice ( 1 ) . toLowerCase ( ) ) ; }
Turns the first letter of a string to upper-case.

@param {String} str
@param {Boolean} [keepCase] Keep the case of 2nd to last letter.
@returns {String}
Turns the first letter of a string to upper - case .