def remove_prefix(s, pre):
    """
    Remove prefix from the beginning of the string

    Parameters:
    ----------
    s : str
    pre : str

    Returns:
    -------
    s : str
        string with "pre" removed from the beginning (if present)
    """
    if pre and s.startswith(pre):
        return s[len(pre):]
    return s