I can not understand the essence of what is simple 2 lines of code but the compiler is wise:
string text = " TITLE OF THE DOCUMEN </ title ></ head >< body >< h1 > hello </ h1 >"; text = text.Substring(22, 31); After compilation produces " </ title ></ head >< body >< h1 ". What is the problem?