Table of Contents

Method Remove

Namespace
Gamelogic.Words
Assembly
Gamelogic.Words.dll

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

startIndex int

The zero-based position to begin deleting letters.

count int

The 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

startIndex int

The zero-based position to begin deleting letters.

Returns

Word

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