1.0.1 • Published 4 years ago
@schlandower/ucfirst v1.0.1
ucfirst
Uppercase first letter of the first word in a string, or uppercase the first letter on the the first word for each entry in an array. Example: require('@schlandower/ucfirst'); var str = 'this is the test string'; str.ucFirst(); Result: This is the test stringResult
str.split(' ').ucFirst().join(' '); Result: This Is The Test String
1.0.1
4 years ago