Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

Part Number B14308-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

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

Arguments
Description
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()