private string GetStringRange(string source, int from, int to)
{
System.IO.MemoryStream ms = new System.IO.MemoryStream(Encoding.Default.GetBytes(source));
System.IO.StreamReader reader = new System.IO.StreamReader(ms);
StringBuilder sb = new StringBuilder(100);
int curPosition = 1;
while (curPosition++ < from)
{
reader.ReadLine();
}
while (curPosition > from && curPosition++ < to)
{
sb.Append(reader.ReadLine());
sb.Append(Environment.NewLine);
}