Hello, I have a problem that I would need help with.
When I scan a 2D matrix, I receive a string output in this format " 240X 10Y 21D" where X, Y, and D are strings of unknown length (for example, " 240DAGA444RRFD 10SM5261 21341"). After scanning the 2D matrix, I want to separate X, Y, and D and assign them to separate variables. However, I haven’t found a way to do this. I can split the string into an array (using the delimiter " "), but I’m unable to proceed from there.
Do you have any suggestions on how I should proceed? Since there is an identifier preceding each value I want to extract (240, 10, 21), I believe I should be able to utilize them.
Thank you for your help
Joakim Boda