src/common/printf.js
function(string){
				var pattern = /(^|\W)(\w)(\w*)/g,
					result = [],
					match;
				
				while (pattern.exec(string)) {
					result.push(RegExp.$1 + RegExp.$2.toUpperCase() + RegExp.$3);
				}
				
				return result.join('');
			}
function(string){
				var pattern = /(^|\W)(\w)(\w*)/g,
					result = [],
					match;
				
				while (pattern.exec(string)) {
					result.push(RegExp.$1 + RegExp.$2.toUpperCase() + RegExp.$3);
				}
				
				return result.join('');
			}
function ( string ) { var pattern = / (^|\W)(\w)(\w*) / g , result = [ ] , match ; while ( pattern . exec ( string ) ) { result . push ( RegExp . $1 + RegExp . $2 . toUpperCase ( ) + RegExp . $3 ) ; } return result . join ( '' ) ; }
Upper first letter
Upper first letter