Version

Substring(IFilterExpression,Int32,Int32) Method

Creates an StartsWith expression.
Syntax
'Declaration
 
Public Overloads Function Substring( _
   ByVal expression As IFilterExpression, _
   ByVal startIndex As Integer, _
   ByVal length As Integer _
) As FilterExpression
public FilterExpression Substring( 
   IFilterExpression expression,
   int startIndex,
   int length
)

Parameters

expression
An expression that resolves to a string.
startIndex
An integer for where to start the substring.
length
An integer how long the substring should be.

Return Value

The expression.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also