I have written a console application in VB.NET2005 which will read a text file and its contents.

But now I want to sort its data on the basis of its contents i.e the text file has following contents:::

CMGL: 1,"REC READ","7=4;;1413818891>53:1",,"07/12/30,12:18:43+22"
0B05040B840B840003CB0201570601AE02056A0045C60C033230322E3133382E3130302E36302F73
6875726C3F643D3536000AC3072007122913381010C3072008010813381001033130206C616B6820
434153482C203435204E6F6B696120363330302070686F6E65732026206C6F616473206F66207461
6C6B74696D652120546F2077696E2C20616E7377

Here I want to sort it by CMGL:1 which is the serial no. of data and so on such as CMGL:2.. etc
I also want to show th data in each " "(inverted commas) seperately whenever it gets CMGL: and the data below it seperately
Please Help soon
:icon_cry:

Member Avatar for iamthwee

Basic string parsing and sorting, any particular problem you were having.

its sorting problem

Member Avatar for iamthwee

I'm not quite sure what you mean by sorting you'll have to elaborate.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.