Oracle Objects for OLE C++ Class Library
Release 8.1.7

Part Number A85258-01

Library

Product

Contents

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


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents