Method
Parameters
startIndex
|
int
|
Index to start removing from
|
count
|
int
|
Amount of characters to delete
|
Returns
FastString
The same instance of FastStringDescriptionRemove a section of the string. If count is not specified then deletes all characters from startIndex to the end of the string. Example FastString fstr = new FastString(256);
void Update() { fstr.Set("You can't delete me!"); Debug.Log(fstr.Remove(3));
fstr.Set("You can't delete me!"); Debug.Log(fstr.Remove(3, 6)); } |
See AlsoFastString.Replace |