WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead. See sjs-4: removeAttrStr.

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.

Subscribe to our newsletter!