Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.58 KB

position-method-java-lang-string-long-sqlservernclob.md

File metadata and controls

48 lines (34 loc) · 1.58 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
position Method (java.lang.String, long) (SQLServerNClob)
position Method (java.lang.String, long) (SQLServerNClob)
David-Engel
davidengel
01/19/2017
sql
connectivity
reference

position Method (java.lang.String, long) (SQLServerNClob)

[!INCLUDEDriver_JDBC_Download]

Retrieves the character position at which the specified substring searchstr appears in the NCLOB value represented by this NClob object.

Syntax

  
public long position(java.lang.String searchstr,  
              long start)  

Parameters

searchstr

The substring for which to search.

start

The position at which to begin searching; the first position is 1.

Return Value

The position at which the substring appears, or -1 if it is not present. The first position is 1.

Exceptions

SQLServerException

Remarks

This position method is specified by the position method in the java.sql.NClob interface.

See Also

position Method (SQLServerNClob)
SQLServerNClob Methods
SQLServerNClob Members
SQLServerNClob Class