string class : Remove(string) method
Description
Gets a new instance of the string which the specified string was deleted.
Syntax
stringInstance.Remove(string deletionString)
Arguments
Class | Name | Description |
string | deletionString | String to be deleted. |
Return value
Class | Description |
string | A new instance of the string which the specified string was deleted. |
Sample code
string anyString = "aaabbbccc";
string removedString = anyString.Remove("b"); // The result (removedString) is "aaaccc".
Notes
Remove(string) method is a member introduced from the Rice 1.0.1.0.
Links for reference
None