Bridge

String..::..Substr Method (Int32, Int32)

The substr() method returns the characters in a string beginning at the specified location through the specified number of characters.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


public string Substr(
	int start,
	int length
)
Public Function Substr ( _
	start As Integer, _
	length As Integer _
) As String
public:
String^ Substr(
	int^ start, 
	int^ length
)

Parameters

start
Type: System..::..Int32
Location at which to begin extracting characters. If a negative number is given, it is treated as strLength+start where strLength = to the length of the string (for example, if start is -3 it is treated as strLength-3.)
length
Type: System..::..Int32
The number of characters to extract.

Return Value