I'm gonna wait a little while before adding these functions to the Tips&Tricks topic.
This needs some more testing (and bug-hunting?), and карбоск will help me to come up with some good English sentence/title examples for each of the 4 functions.
Here's a challenge for you guys:
Take this title:
an all-in-one, forty-two bar r&b vs. neo-progressive rock medley: a journey (uma viagem) (moby remix)
And have it turn out like this:
An All-in-One, Forty-Two bar R&B vs. Neo-progressive Rock Medley: A Journey (Uma Viagem) (Moby remix)
In case it is helpful, this is a list of words I have assembled for Lower_case_words:
a an and as at but by for if in nor of off on or per so the to up via vs. yet album alternate demo edit extended live mono re-remix remix single stereo version
There may be more that should be in it?
spoiler alert, I think this may be impossible at the moment.
E.g. it looks like the function should not be capitalising the last word when it is at the end, but between round brackets.
Not sure, maybe have some rules that only affect anything that is between round brackets?
Have fun!
PS
@boroda, have you considered having only one $TitleCase function instead of 4 versions?
One that can use any or all of the three parameters?
Maybe have it mandatory for the formula to always contain three comma's, where it is optional for the user to put parameters in any of the three positions?
So:
$TitleCase(mandatory,optional
,optional
,optional
)So a basic version would look like:
$TitleCase(<Title>,a an and
,,)and something like:
$TitleCase(<Title>,,&
,)would also work?
(pretty useless, but to show what I mean)