You will have to explain in more detail.
Do you mean that you receive the data "NAME1 = 8867111" and you want to be able to identify the number part and, if it matches, display the name part?
If so have a look at the examples in Serial Input Basics - simple reliable ways to receive data.
I think the strstr() function will be suitable for checking the content.
...R