Serial data string.equals wild cards?

Yes, that particular command will always be in the format ATMxxx so 7 will be 007.
The commands are coming from Labview, so will be tightly controlled.

Thanks to everyone for your replies. Its much appreciated.