private bool IsNext(string str) { if (pos + str.Length > source.Length) return false; return source.Substring(pos, str.Length) == str; }