def splitIndentDeepness(text):
    """
    Return tuple (d, t) where d is deepness of indentation and t is text
    without the indentation.
    """
    pl = len(text)
    text = text.lstrip()
    return (pl-len(text), text)