def remove_prefix(str, prefix):
    """Removes a prefix from a string.

    Args:
        str (str): Any string to be separated from a prefix.
        prefix (str): Part to be stripped off the front.

    Returns:
        str: String with the prefix removed. If the string doesn't start
            with the specified prefix, this is a no-op.
    """
    if str.startswith(prefix):
        return str[len(prefix) :]
    return str