public static string ScopeBody(this StringBuilder content, ScopeIndex index) { return content.ToString(index.StartIndex + index.Tag.BeginTag.Length, index.Length - index.Tag.BeginTag.Length - index.Tag.CloseTag.Length); }
public static string ToString(this StringBuilder content, ScopeIndex index) { return content.ToString(index.StartIndex, index.Length); }