XsltFunctions.Substring Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements substring
XPath function according to W3C specification.
Overloads
Substring(String, Double) |
This API supports the product infrastructure and is not intended to be used directly from your code. Implements |
Substring(String, Double, Double) |
This API supports the product infrastructure and is not intended to be used directly from your code. Implements |
Substring(String, Double)
- Source:
- XsltFunctions.cs
- Source:
- XsltFunctions.cs
- Source:
- XsltFunctions.cs
Implements substring
XPath function according to the W3C specification.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ Substring(System::String ^ value, double startIndex);
public static string Substring (string value, double startIndex);
static member Substring : string * double -> string
Public Shared Function Substring (value As String, startIndex As Double) As String
Parameters
- value
- String
The string from which to retrieve the substring.
- startIndex
- Double
The starting character position of a substring in value
.
Returns
The substring of the first argument starting at the position specified in the second argument.
Applies to
Substring(String, Double, Double)
- Source:
- XsltFunctions.cs
- Source:
- XsltFunctions.cs
- Source:
- XsltFunctions.cs
Implements substring
XPath function according to the W3C specification.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ Substring(System::String ^ value, double startIndex, double length);
public static string Substring (string value, double startIndex, double length);
static member Substring : string * double * double -> string
Public Shared Function Substring (value As String, startIndex As Double, length As Double) As String
Parameters
- value
- String
The string from which to retrieve the substring.
- startIndex
- Double
The starting character position of a substring in value
.
- length
- Double
The number of characters in the substring.
Returns
The substring of the first argument, starting at the position specified in the second argument, with the length specified in the third argument.