RealPort string matching not working

Not sure of the exact embedded processor, but I’m using a string match to send data via UDP to a computer. However, while examining the UDP packet, the data portion includes the expected message, but with the match prefix at the end.

For example, I want to capture this string, by matching “!AIV”

!AIVDM,1,1,A,H52M3R4U3?=>1F000000001p5150,0*1C

The data portion of the UDP packet is:
DM,1,1,A,H52M3R4U3?=>1F000000001p5150,0*1C!AIV

I double checked that it’s not stripping the match sequence. Any ideas?

More details would be needed.

What product?

Also, your use of the term “RealPort” is confusing as it refers to our driver which does not support string matching.