Use NULL instead of 0 for pointers.
strchr(3) will return NULL if the character does not appear in the string.
MFC after: 2 weeks.