2.3.8 const char * strchr_P

const char * strchr_P(const char *, int __val)

The strchr_P() function locates the first occurrence of val (converted to a char) in the string pointed to by s in program space. The terminating null character is considered to be part of the string.

The strchr_P() function is similar to strchr() except that s is pointer to a string in program space.

Remember:

The strchr_P() function returns a pointer to the matched character or NULL if the character is not found.