File.prototype.removeAttrStr()

Remove string file attribute.

Syntax

file.removeAttrStr(key string) File

Parameters

key string

Name of the attribute.

Description

Remove user defined string file attribute. Remove is idempotent, it is okay to remove non-existent keys.

Examples

Basic example

Removing non-existent key is ok.