Pointers that point to the smallest lowercase and the smallest uppercase characters respectively in the given string
var i = 0 , j = 0 ; while ( i < MAX && lower [ i ] == 0 ) i ++ ; while ( j < MAX && upper [ j ] == 0 ) j ++ ;