This is a series of programming challenges for beginners and experienced Caché programmers.
For an introduction : go to article https://community.intersystems.com/post/advent-code-2016-day1-no-time-ta...
The challenge of day 21 is about scrambling passwords.
There are a few functions you need to implement that will do operations on a string :