Method Remove
Remove(int, int)
Returns a new word in which a specified number of letters in the current instance beginning at a specified position have been deleted.
public Word Remove(int startIndex, int count)
Parameters
startIndexintThe zero-based position to begin deleting letters.
countintThe number of letters to delete.
Returns
- Word
A new string that is equivalent to this instance except for the removed characters.
Remove(int)
Returns a new word in which all the letters in the current instance, beginning at a specified position and continuing through the last position, have been deleted.
public Word Remove(int startIndex)
Parameters
startIndexintThe zero-based position to begin deleting letters.
Returns
- Word
A new string that is equivalent to this instance except for the removed characters.