Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66767

Match Pattern 'xx' but not 'xxx'

$
0
0

Hi dear community!

 

Once again, I need your help: I want to read the substring of an ascii string after a specific marker, here 'xx'. Now a problem arises when the string contains the sequence 'xxx': In these cases the start of the substring is wrong, as the substring starts with 'x'.

 

How do I search for occurences of 'xx', but exclude 'xxx'?

 

 

Alternatively: How do I search for 'xxx' or 'xx', so that the substring definitly starts with the desired byte?

 

 

Sincerely,

Friedrich G. Froebel


Viewing all articles
Browse latest Browse all 66767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>