I'm trying to make my article title well-formatted, I'm currently using TextInfo.ToTitleCase
for formating. It does well on most of jobs, but it's not that perfect.
For example:
- Original String: war and peace
- Expected Result: War and Peace
- Actual Result: War And Peace
Microsoft also use above as the example, it's obviously a known problem. What I'm going to do is to write a list by hand for those words like "a", "and", "or" etc (I'm not sure I can get a complete list or not), would it be the best solution for this problem?