Hi folks,
How would I achive the following. In a text box I've got a number of comma delimited records, and I want to retrieve the last record based on the first delimited item.
For example, if I've got the following rows in the text box:
aa,123,123,123
bb,123,123,123
cc,123,123,123
aa,456,456,456
bb,456,456,456
aa,789,789,789
cc,456,456,456
and the row I want to retrieve is the last 'aa' row (aa,789,789,789).
Any pointers?
(BTW if it makes any difference, this is using
VB.NET in the Compact Framework)
Thanks,
Gareth