Connector Framework Server 24.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 2024 Open Text
Version 24.2 | Last updated March 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Connector Framework Server 24.2

Topic Title: extract_text_from_file