Thanks for the reply. As you can surmise this is an Advent of Code problem. My original solutions were written in the new twinBasic dialect of VBA. I have a simple VBA macro that does some search and replaces which gets VBA/twinBasic code to 90% nim syntax.
twinBasic/VBA doesn't have char Types hence the single character strings. I actually implemented your proposal before reading the above and all works as it should.