Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

  NameDescription
Public method Remove(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 method Remove(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

Community Additions

Show:
© 2018 Microsoft