Connector Framework Server 23.2

# extract_text_from_file

The `extract_text_from_file` function uses KeyView to extract text from a file.

## Syntax

    extract_text_from_file( filename )

## Arguments

Argument | Description
--- | ---
`filename` | (string) The path and file name of the file that you want to extract text from.

## Returns

String. Returns the text extracted from the file.

## Example

    local filePath = "c:/path/to/my/file.xml";
    local text = extract_text_from_file(filePath);

Copyright 2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 23.2

Topic Title: extract_text_from_file