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 © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...