def get_balance(s, asTuple=False):
    """Returns a string formatted 'X|X' which describes the balance of a given split string"""
    s = s.split('|')
    if not asTuple:
        return str(len(s[0])) + '|' + str(len(s[1]))
    else:
        return len(s[0]), len(s[1])
