OpenTypeMethods.Substring Method (Object, Object)

Returns the substring after the specified starting index location.

Namespace:  System.Data.Services.Providers
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Syntax

'Declaration
Public Shared Function Substring ( _
    targetString As Object, _
    startIndex As Object _
) As Object
'Usage
Dim targetString As Object 
Dim startIndex As Object 
Dim returnValue As Object 

returnValue = OpenTypeMethods.Substring(targetString, _
    startIndex)
public static Object Substring(
    Object targetString,
    Object startIndex
)
public:
static Object^ Substring(
    Object^ targetString, 
    Object^ startIndex
)
static member Substring : 
        targetString:Object * 
        startIndex:Object -> Object
public static function Substring(
    targetString : Object, 
    startIndex : Object
) : Object

Parameters

  • targetString
    Type: System.Object
    The string from which to return the substring.
  • startIndex
    Type: System.Object
    The starting index for the substring.

Return Value

Type: System.Object
The substring.

Remarks

The Substring method returns all characters from startIndex through the end of the targetString.

See Also

Reference

OpenTypeMethods Class

Substring Overload

System.Data.Services.Providers Namespace