def process_line(cur_str):
    """Get value from each line of TextGridline, as {xmax = 0.29} will get {0.29}, {text = "kk"} will get {kk} """
    tmp_array = cur_str.strip().split('=')
    tmp_array = [item for item in filter(lambda x: x != '', tmp_array)]
    return tmp_array[-1].strip()