def striphist(var, insChar=''):
    """strip a histogram number from a var name"""
    sv = var.split(':')
    if len(sv) <= 1:
        return var
    if sv[1]:
        sv[1] = insChar
    return ':'.join(sv)
