StringsSubstring(String, Int32, Int32) Method
Get a substring from the indicated position of a text and with the indicated length.
Namespace: Aliquo.CoreAssembly: Aliquo.Core (in Aliquo.Core.dll) Version: 5.0.9179.22651
public static string Substring(
string text,
int startIndex,
int length
)
Public Shared Function Substring (
text As String,
startIndex As Integer,
length As Integer
) As String
- text String
- Text used to get the substring.
- startIndex Int32
- Starting index to get the substring.
- length Int32
- Length of the substring to obtain.
StringString with the substring from the start position and with the indicated length up to the maximum length of the text.
Empty if the text is empty or the index exceeds the length of the text.