sim800 get content message

I want to create a condition if the receive message == "locate" or if the sender number =="mynumber" it will do the code below;

void doSmsMsg(
    ) {

if (debugMode)
    Serial.println("@doSmsMsg");

if (sendAtCmd("at+cmgl=\"ALL\"", "+CMGL:", 5000) == 1) {
    // new text found, respond (we don't actually parse the text in any way)
    if (debugMode)
        Serial.println("  new SMS msg found");
    sendCoord();
    delOldSms();
    }
else {
    if (debugMode)
        Serial.println("  no new SMS msg found");
    }

} // doSmsMsg

dont mind the debugMode it's just a bool condition if = 1 it just print on serial else not print