View Single Post
Old 11-17-2017, 09:49 AM   #2
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Thanks. Will be handy.

However..."titlecase" simply capitalises every word.
Title case normally leaves some words:
Articles (a, an, the)
Conjunctions (e.g., and, but, or)
Prepositions (e.g., on, in, with)
in lower case (except at beginning).

If that seems too much hassle, maybe just rename your option "Capitalise".

See e.g :
http://www.grammar-monster.com/lesso...title_case.htm
http://blog.apastyle.org/apastyle/20...apa-style.html
https://saijogeorge.com/title-case-converter/ seems accurate

PS -- also found some anomalies: it will convert
"CHAPTER XVII–FINDS PRINT OF MAN’S FOOT ON THE SAND" to
"Chapter Xvii—Finds Print Of Man’S Foot On The Sand"
which I need to make several manual changes to make it true title case:
"Chapter XVII—Finds Print of Man’s Foot on the Sand".
The capital after an apostrophe is wrong even for simple capitalising.

Last edited by AlanHK; 11-17-2017 at 08:57 PM.
AlanHK is offline   Reply With Quote