Serial data string.equals wild cards?

Hi Maximo,

Please can you explain this in more detail.
I half understand what its doing but not 100% sure if I its right.

Thanks