Thank you for your quik answears.
The file looked like this:
<TD width="20%" class="WG3">Name </TD>
<TD width="20%" class="WG3">Olof </TD>
I wrote the code like this and its works perfect.
<pre lang="cs">public string getMeetInfo(string fileContent , string searchMeetInfo)
{
string searchString1 = ">" + searchMeetInfo + " </TD>";
int IntRubrikStart = fileContent.IndexOf(searchString1);
string searchString2 = ">";
int intWantedNameStart = fileContent.IndexOf(searchString2, IntRubrikStart + searchString1.Length) + 1;
string searchString3 = " ";
int intWantedNameEnd = fileContent.IndexOf(searchString3, intWantedNameStart);
string strOut = fileContent.Substring(intWantedNameStart, intWantedNameEnd - intWantedNameStart);
return strOut;
Output:
Olof