11-22-2016 08:57 AM - edited 11-22-2016 08:58 AM
Hi,
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 ?
Best regards.
Solved! Go to Solution.
11-22-2016 09:29 AM
11-22-2016 09:39 AM
Try match regular expression
11-22-2016 09:54 AM
Thank you OEM_Dev and GerdW, it works perfectly.