I have a string that change always but I want to take one particulary string. I used Scan from String Function.
My first string : 0A47487980 0A88762AF7 0AFFFF017.
Same string but another time later : 0A47487980 0A00010178 0A88762AF7
I want to extract the frame that begin with 0AF or 0A0 , in the the first string it's FFFF017, in the second it's 00010178. The string changes always but the first three never change and there are always in 8 bit after 0A.
I put in Scan from String Function, the format is 0A0 %8s. But how do you specify that I want either 0A0 OR 0AF ? I tried the format 0A0 %8 | 0AF %8 but that's not working ...
Can you help me ?
Solved! Go to Solution.
you could use two separate search string operations.
Or you could use an array of search strings and do your operations in a loop…