View Single Post
Old 05-02-2025, 06:16 AM   #85
moldy
Enthusiast
moldy began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Oct 2015
Device: Kindle
Thanks for the modified function lomkiri - your work and knowledge is much appreciated.
I tested the new version using the John => Mick example. I ignored the mixed capitalisation (jOHn) because that occurrs so rarely it's not a problem. My test was:
Code:
<p>JOHN John</p>
and the desired return would have been:
Code:
<p>MICK Mick</p>
However the actual return was:
Code:
<p>mick mick</p>
.
Obviously where, say, the first 3 words of a text section are capitalised or, as another example, in a capitalised heading, this change would not be acceptable.
I'm guessing I did not make my change request sufficiently clear in what I was asking for. - moldy

Last edited by moldy; 05-02-2025 at 06:28 AM. Reason: Typo
moldy is offline   Reply With Quote