Method
public bool EndsWith(string str)
|
public bool EndsWith(FastString str)
|
Parameters
str
|
string
|
String to look for
|
Returns
bool
True if ends with given string
DescriptionReturns true if string ends with the given string. Example FastString fstr = new FastString(256);
void Update() { fstr.Set("RetroBlit"); Debug.Log(fstr.EndsWith("Blit")); Debug.Log(fstr.EndsWith("Retro"));
fstr.Set("RetroBlit "); Debug.Log(fstr.EndsWith("Blit")); } |
See AlsoFastString.StartsWith |