And it should be noted that if you DO want to just impact the entire string, InlineSetting is still just one option, just as quick and easy as StringCase.
jsmorley wrote: ↑December 7th, 2019, 7:13 pm
And it should be noted that if you DO want to just impact the entire string, InlineSetting is still just one option, just as quick and easy as StringCase.
For me, and this is just for me... StringCase is really just deprecated.
You can also do alternating case with InlineSettings in a similar fashion.
InlinePattern = "."
InlineSetting = Case | Lower
InlinePattern2 = "(?s).(.)(?=(.{2})+$)"
InlineSetting2 = Case | Upper
To switch it around, just switch the InlineSettings so the first one changes them to Upper and the second one changes them to Lower instead.
You can play with the red bits below to change how many in a row get captured/skipped. You can add more periods, remove the period entirely, add more to the {2}, whatever. Causes different patterns. If you remove the period and leave it at {2} then it won't capture any though. {1} will also not capture any, and {0} will capture the entire string. Adding more though to either side typically causes different patterns.
InlinePattern2 = "(?s).(.)(?=(.{2})+$)"
Randomcase would probably not be reasonably possible in a single update cycle though, so that might be nice to have.