I’ll try to explain this as much as I can.
I am working on a personal plugin that requires use of letter combinations such as aa ab ac … zx zy zz. I want to be able to create a public string and let the user put text in the inspector while the code breaks them up in pairs and execute a function.
PSEUDO CODE:
- User types “very bad” in the inspector
- string pairs will be(.toUpper) VE RY BA DD (d+d last unpaired pairs with itself)
- if or switch statements do: if string(VE){something;} if string RY {something;}
** I have already set all the possible pairs in the alphabet as functions. I am not sure about adding that last pair, if it’s possible great but I really need to convert sentences to alphabet pairs for this to work. Thanks in advance.