position(Clob searchstr, long start)

Syntax:

long position(Clob searchstr, long start) throws SQLException

Description:

Retrieves the character position in the CLOB value designated by this Clob object at which pattern begins. The search begins at position start.

Parameters:

searchstr

Type: Clob 

the Clob object for which to search

start

the position in the CLOB value at which to begin searching; the first position is 1

Returns:

the position at which the Clob object appears or -1 if it is not present; the first position is 1

Throws:

SQLException - if a database access error occurs, start < 1, or searchstr is null

References:

For more information, reference JDBC documentation for: Clob.position(Clob, long)