modified:   minmaxstring.c