readAsText


Purpose

Returns the read data as a text string.

Signature

FileReader.readAsText(blob, encoding)

Returns

Returns the data contents of the Blob object using the encoding determination algorithm as a string in a charset format.

Parameter

Name Description Type Use
blob Blob int required
encoding Specifies an encoding algorithm. int optional

Related topics

Overview
FileReader
Legal notice | Copyright © 2017 and Confidential to Pegasystems Inc. All rights reserved
PDN | Feedback
Advanced...