update strrIndex.c