Substring(Int32,Int32) Method (DrawingString)
Retrieves a substring from this instance. The substring starts at a specified character position and has a specified length.
'Declaration
Public Overloads Function Substring( _
ByVal As System.Int32, _
ByVal As System.Int32 _
) As DrawingString
Parameters
- startCharIndex
- The zero-based starting character position of a substring in this instance.
- charCount
- The number of characters in the substring.
Return Value
A string that is equivalent to the substring of length length that begins at startIndex in this instance, or
Empty if startIndex is equal to the length of this instance and length is zero.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5