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

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

Syntax

C#
public SqlString Substring(
	int startIndex
)
Visual Basic
Public Function Substring ( _
	startIndex As Integer _
) As SqlString
Visual C++
public:
SqlString^ Substring(
	int 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