def remove_prefix_from_string(prefix, string):
    """Removes a prefix from a string if it exists.  Otherwise returns the unmodified string."""
    if string.startswith(prefix):
        string = string[len(prefix):]
    return string