Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# setOffset

Modifies the position of a match in a document.

## Syntax

`edkmatch:setOffset(new_offset)`

## Arguments

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

## Returns

The new position of the match (in bytes).

Related Topics

- getOffset

Copyright 2013-2026 Open Text
Version 26.3 | Last updated July 2026

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 26.3

Topic Title: setOffset