Well, In That Case...
Two of the text-conversion functions built into the Massive Tool are "uppercase" and "lowercase". (You can access them through the uppercase.rim and lowercase.rim macro files that come with the Tool.) Of course, I couldn't just use the uppercase() and lowercase() string functions built into Delphi; oh no, that would have been too easy. I wrote custom functions which were designed to (a) ignore HTML tags between < > symbols, since some parts of HTML (URLs, in particular) are case-sensitive, and (b) recognize and convert ampersand codes for accented letters. Below is an example of a block of code, both before and after the uppercase.rim macro has been applied. Note that the only text which was affected was the text outside of the < > brackets, and note also that the accented é was also converted to uppercase:
| BEFORE: | Les Misérables | <a href="http://en.wikipedia.org/wiki/Les_ |
| AFTER: | LES MISÉRABLES | <a href="http://en.wikipedia.org/wiki/Les_ |
Of interest to possibly no one else but me, I'm adding a "title case" function to the next release of the Massive Tool. Title case is what I generally use for the subjects of all of my posts – it means that Every Word Is Capitalized. As with so many other things, I figure "Why I should keep doing this manually, when I can just get the Tool to do it for me?"
Allah Sulu's Massive Tool
