Bridge

String..::..Remove Method (Int32)

Returns a new string in which all the characters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.

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

Syntax


[TemplateAttribute]
public string Remove(
	int index
)
<TemplateAttribute> _
Public Function Remove ( _
	index As Integer _
) As String
[TemplateAttribute]
public:
String^ Remove(
	int^ index
)

Parameters

index
Type: System..::..Int32

Return Value

A new string that is equivalent to this string except for the removed characters.

Exceptions


ExceptionCondition
System..::..ArgumentOutOfRangeExceptionstartIndex is less than zero.-or- startIndex specifies a position that is not within this string.