I want to modify the theme code for input on subject line script, to capitalize the 1st letter of the sentence and replace words and "i" to "I" as well. This is what I have, is there a more modern way to achieve this?
on *:INPUT:#: {
if ($Left($1, 1) != /) {
var %Text = $Replacexcs($Regsubex($1-, /^([a-z])|\b(i)\b/g, $Upper(\t)), doesnt, doesn't, couldnt, couldn't, wouldnt, wouldn't, shouldnt, shouldn't, didnt, didn't, isnt, isn't, theyll, they'll, wasnt, wasn't, havent, haven't, dont, don't, thats, that's, cant, can't)
Thoughts?