private static bool ContainsString(string str, string token) {
int stringLength = str.Length;
int tokenLength = token.Length;
for (int s = 0; s < stringLength; s++) {
int t = 0;
while (t < tokenLength && str[s + t] == token[t]) {
t++;
}
if (t == tokenLength) {
return true;
}
}
return false;
}