I have a list or datatable that has several values. In some way I have to scan the row and search for only capital letters (from 2 to 3) and then copy and paste into a new row. It can be possible?
Some data:
T09 AT 98-67 Test
T19 AYR 98-67 Demo
EDIT: I managed to get just capital letter index, but what if I want only when the they are AT and not T. I mean, 2 or 3 capital letter together?
for (int w = 0; w < s.Length; w++)
{
if (Char.IsLetter(s[w]) && Char.IsUpper(s[w]))
{
Console.WriteLine("INDEX: {0}", w);
}
}