First character of subject always gets lowercased without upperCaseSubject: true
See original GitHub issueIt is okay that first character gets uppercased with upperCaseSubject: true
, but I do not want it to always get lowercased without the option.
I mean, I want it to be something like this.
return (upperCaseSubject ? value.charAt(0).toUpperCase() + value.slice(1) : value);
I think there should be an option like lowerCaseSubject: boolean
so we can choose whether it gets lowercased or not.
What do you think of it?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How do I make the first letter of a string uppercase in JavaScript?
The first character here fails to capitalize because the array-indexed properties of strings don't access “characters” or code points*. They ...
Read more >When to Capitalize People's Titles
Do not capitalize the civil title if it is used instead of the name.” Also, Rule 2 says, “Always capitalize a proper noun.”...
Read more >Overview of SQL LOWER and SQL UPPER functions
This article gives an overview of SQL UPPER function and SQL LOWER function to convert the character case as uppercase and lowercase ......
Read more >11 English Capitalization Rules: How, When, and Why ...
1. Capitalize the First Word in a Sentence. Always capitalize the first letter of a sentence, no matter what word it is.
Read more >Sub-string that contains all lowercase alphabets after ...
Given a string str containing lower case alphabets and character '?'. The task is to check if it is possible to make str...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That’s how it’s been designed. It needs to be upper or lower case, not up to users in this case.
default is false, no matter what you type, it will be lowercase