MatchPos Method

Applies To

OBlob

OClob

OBfile

Description

Returns the position of the nth occurrence of the pattern starting at the offset.

Usage

unsigned long MatchPos(const char *pattern, unsigned long bufsize, unsigned long offset, unsigned long nth) const throw(
OException)

Arguments

pattern
A string for Clob or byte array for Blob or Bfile that is searched for in the LOB.
bufsize
Size of user-allocated buffer.
offset
The starting position in the LOB or BFILE for the search.
nth
The occurrence number.
Remarks

This call is currently implemented by executing a PL/SQL block that utilizes DBMS_LOB.INSTR()

Contents