Skip to main content
.NET Framework Class Library
String..::.Remove Method





Returns a new string in which a specified number of characters from the current string are deleted.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodRemove(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.
Public methodRemove(Int32, Int32)Returns a new string in which a specified number of characters in this instance beginning at a specified position have been deleted.
Top
Microsoft is conducting an online survey to understand your opinion of the MSDN Web site. If you choose to participate, the online survey will be presented to you when you leave the MSDN Web site.

Would you like to participate?