Search colon

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hi: How to i search ":" in a sentence by ASP. For eg:

abc efg hij : kkk ddd lll
fda fdasf jfdas fdas fsad

When i read a line i want to skip those lines where ":" is present

data = ts.ReadLine
 
Hi: How to i search ":" in a sentence by ASP. For eg:

abc efg hij : kkk ddd lll
fda fdasf jfdas fdas fsad

When i read a line i want to skip those lines where ":" is present

data = ts.ReadLine

if (!data.Contains(":"))
{
// process the line
}
 
Back
Top