Programming Reference Manual
 
Syntax
 
string = stringclassobject.SubString(Start[, Length])
 
Description
Returns part of the text buffer from the StringClass variable, starting from the given position.
 
Parameter
Description
Start
Long Integer, the position in the text buffer where the first character of the returned string begins.
Length
Long Integer, optional. Determines the number of characters that will be returned from Start. If ommitted the remaining text buffer, starting from Start will be returned.
See Also
Example
 
Sub Main
 
Dim myStr As New StringClass
 
myStr.Append "Test"
 
Debug.Print myStr.SubString(2,2) 'es
 
End Sub