Method
public bool Contains(string str)
|
public bool Contains(FastString str)
|
public bool Contains(char c)
|
Parameters
str
|
string
|
String to find
|
c
|
char
|
Character to find
|
Returns
bool
True if found
DescriptionReturns true if contains given string. Example FastString fstr = new FastString(256);
void Update() { fstr.Set("retroblit is retro"); Debug.Log(fstr.Contains("retro")); Debug.Log(fstr.Contains('i')); Debug.Log(fstr.Contains("missing")); } |
|