Retrieves a substring from this controls text, similar to the
System.String.Substring(System.Int32) method. The substring starts at a specified character position.
'Declaration
Public Overloads Function GetSubstring( _
ByVal As Integer _
) As String
public string GetSubstring(
int
)
Parameters
- startIndex
- The zero-based starting character position of a substring in this instance.
Return Value
A
System.String object equivalent to the substring that begins at startIndex in this instance, or
System.String.Empty if startIndex is equal to the length of this instance.
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