Under the processinfo function, how can i identify that "are" existed in the *inputx ??

Code:
main()
{
char xyz[20] = "hellohowareyoudoingthere";

    processinfo(xyz);
}

void processinfo(char *inputx)
{


}