internal static bool StartsWith(this string self, string prefix, int toffset) { return self.IndexOf(prefix, toffset) == toffset; }