Retrieves a substring from this instance. The substring starts at a specified character position.

Namespace:  NHibernate.SqlCommand
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Function Substring ( _
	startIndex As Integer _
) As SqlString
C#
public SqlString Substring(
	int startIndex
)
Visual C++
public:
SqlString^ Substring(
	int startIndex
)
JavaScript
function substring(startIndex);

Parameters

startIndex
Type: System..::.Int32
The starting character position of a substring in this instance.

Return Value

A new SqlString to the substring that begins at startIndex in this instance.

Remarks

If the startIndex is greater than the length of the SqlString then Empty is returned.

See Also