Send a String into Serial.find()

how to send a String variable into Serial.find().

String temp ="OK";

if(Serial.find(temp)){
    Serial.println("found OK");
}

this gives an error

As far as I understand it, Serial.find() takes a character array.

char mytext[] = "OK";
if(Serial.find(mytext) == true)
{
}