def getFirstLineContaining(lines, keyLineStart):
    """
    Given a split abfinfo text, return a stripped value for the given key.
    """
    for line in lines:
        if line.startswith(keyLineStart):
            line = line.replace(keyLineStart, "")
            line = line.strip()
            return line
    return None