while('A' <= *str && 'Z' >= *str) str++;
return *str == '\0' ? 0 : -1;