collections

  1. I

    Adding values to a list based on a string delimiter until the next occurence?

    Hi, I have a data string that I put into a list. When I start iterating through the list, I have an if statement that when x.Contains(g), do this. The code that I wrote is.. string g = "<a class="; List<string> K = new List<string>(); foreach (var x in myList) { if (x.Contains(g)) {...
Back
Top Bottom