def drop_prefix(prefix, text):
    """drop prefix from text if it exists.

    Args:
        prefix: the prefix to drop.
        text: the full string.

    """
    if text.startswith(prefix):
        return text[len(prefix):]
    return text