Method
Parameters
startIndex
|
int
|
Start of the substring
|
length
|
int
|
Length of the substring
|
Returns
FastString
The same instance of FastStringDescriptionSet to a substring of the original string. If length is not specified then the substring contains all characters from the index to the end of the original string. Example FastString fstr = new FastString(256);
void Update() { fstr.Set("RetroBlit is pretty neat!"); Debug.Log(fstr.Substring(13));
fstr.Set("RetroBlit is pretty neat!"); Debug.Log(fstr.Substring(13, 6)); } |
See AlsoFastString.Remove FastString.Replace |