def getCommonSuffix(aLabel, bLabel):

    nn = -1
    while (aLabel[nn].lower() == bLabel[nn].lower()):
        nn -= 1
        if (-nn > len(aLabel)):
            return (aLabel)
        if (-nn > len(bLabel)):
            return (bLabel)

    if (nn == -1):
        return ("")
    else:
        return (aLabel[nn + 1:])