True Title Case

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
nicholascueto
Posts: 22
Joined: 02 Dec 2020 01:35

True Title Case

Post by nicholascueto »

According to the docs the Rename Special Capitalization command leaves out some articles. This is frustrating because Title Case functions in other programming languages do not have these exceptions. How can I have the function return Title Case without these exceptions?

ie.

Input
XYplorer is the best.ini
Current Output
XYplorer Is the Best.ini
Desired Output (True Title Case ie. space delimited)
XYplorer Is The Best.ini
Thanks!

highend
Posts: 14925
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: True Title Case

Post by highend »

Rename special is a special case of renaming, not the recase() part of the scripting language^^

So: Use a button, UDC, whatever and use rename in conjunction with recase() to get that output
One of my scripts helped you out? Please donate via Paypal

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: True Title Case

Post by jupe »

If you don't want any exceptions you can remove them from this ini key:

RenameTitleCaseExceptions=

follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak

nicholascueto
Posts: 22
Joined: 02 Dec 2020 01:35

Re: True Title Case

Post by nicholascueto »

jupe wrote: 11 May 2023 21:14 If you don't want any exceptions you can remove them from this ini key:

RenameTitleCaseExceptions=

follow these instructions exactly on how to tweak: https://www.xyplorer.com/faq-topic.php?id=tweak
PERFECT. Thank you!

Post Reply