import re


def getVarList(strLine):
    """this function takes a string in the format 'i{Am}AString{With}Variables'
    and parse it for included var entries '{.+}'. The return of the function in
    case of the example would be: ('Am','With')
    """

    result = []
    if strLine is None:
        return result
    pattern = re.compile('{[a-zA-Z]+}')
    matchList = pattern.findall(strLine)
    for match in matchList:
        result.append(match[1:-1])
    return result