Skip to content

ExtractText

Extracts the text content of a file.

1
myFiles.ExtractText(id: string):string

Parameters

string id
    The ID of the file.

Returns

The extracted text content of the file.

Remarks

This function is used to extract the text content of a file. When text extraction is not possible, it returns an empty string.

Example

1
var extractedText = $Files.ExtractText(fileId);