def get_what_follows_raw(s: str,
                         prefix: str,
                         onlyatstart: bool = True,
                         stripwhitespace: bool = True) -> Tuple[bool, str]:
    """
    Find the part of ``s`` that is after ``prefix``.

    Args:
        s: string to analyse
        prefix: prefix to find
        onlyatstart: only accept the prefix if it is right at the start of
            ``s``
        stripwhitespace: remove whitespace from the result

    Returns:
        tuple: ``(found, result)``

    """
    prefixstart = s.find(prefix)
    if ((prefixstart == 0 and onlyatstart) or
            (prefixstart != -1 and not onlyatstart)):
        # substring found
        resultstart = prefixstart + len(prefix)
        result = s[resultstart:]
        if stripwhitespace:
            result = result.strip()
        return True, result
    return False, ""
def get_what_follows_raw ( s : str , prefix : str , onlyatstart : bool = True , stripwhitespace : bool = True ) -> Tuple [ bool , str ] : prefixstart = s . find ( prefix ) if ( ( prefixstart == 0 and onlyatstart ) or ( prefixstart != - 1 and not onlyatstart ) ) : resultstart = prefixstart + len ( prefix ) result = s [ resultstart : ] if stripwhitespace : result = result . strip ( ) return True , result return False , ""
Find the part of ``s`` that is after ``prefix``.

    Args:
        s: string to analyse
        prefix: prefix to find
        onlyatstart: only accept the prefix if it is right at the start of
            ``s``
        stripwhitespace: remove whitespace from the result

    Returns:
        tuple: ``(found, result)``