def makeNewFeatureName(curFeatName, oldStringList, newStringList):

    for jj in range(len(oldStringList)):
        oldStr = oldStringList[jj]
        newStr = newStringList[jj]

        i1 = curFeatName.find(oldStr)
        if ( i1 >= 0 ):
            i2 = i1 + len(oldStr)
            newFeatName = curFeatName[:i1] + newStr + curFeatName[i2:]
            return ( newFeatName )

    print " ERROR in makeNewFeatureName ???? ", curFeatName, oldStringList, newStringList
    sys.exit(-1)