This is definitely an interesting idea.    If I understand correctly, we would define the string once and return it with the platform's preferred casing? Regular expressions would likely be able to handle such a thing. I update with the other requested changes and then give this a try.