def startstrip(string: str, part: str) -> str:
    """
    Remove ``part`` from beginning of ``string`` if ``string`` startswith ``part``.

    Args:
        string (str): source string.
        part (str): removing part.

    Returns:
        str: removed part.
    """
    if string.startswith(part):
        return string[len(part):]
    return string