>>423
if ( (p = strchr(r, s[i])) == 0 ) {
でもいい