Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# setOffsetLength

Modifies the position of a match in a document.

## Syntax

`edkmatch:setOffsetLength(new_length)`

## Arguments

Argument | Description
--- | ---
`new_length` | The new position of the match, in characters from the start of the text buffer.

## Returns

The new position of the match (in characters).

Copyright 2013-2025 Open Text
Version 25.4 | Last updated October 2025

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: Knowledge Discovery Named Entity Recognition 25.4

Topic Title: setOffsetLength