def findFirstNonWhitespace(text, pos):
    """Find first thing after pos in text that is not whitespace

    (whitespace = " " for now)
    Returns:
        position of thing and thing
        if nothing is after pos, return (-1, None)
    """
    while pos > -1 and text[pos] == " " and pos < len(text):
        pos = pos + 1
    if pos == -1 or pos >= len(text):
        return -1, None
    else:
        return pos, text[pos]