I have a Label showing a couple of numbers, which change occasionally. Each time a change takes place, I'd like to check which of the digits actually changed and what digit replaced the old one.
For example, when the Label shows „10836“ and then changes to „10796“, I'd like to trigger the Signals „position 2 changed to 9“ and „position 3 changed to 7“ (approaching from the right because there might be shorter or longer numbers).
I'm thinking of maybe extracting each digit, storing it on its own and then compare on the next change... but maybe there's a simpler way?
Any suggestions are much appreciated.