digitaldrew
Well-known member
- Joined
- Nov 10, 2012
- Messages
- 167
- Programming Experience
- Beginner
I'm wanting to do something, but not really sure if this can be done or how it can be done...
I have a list like this:
and I would like to arrange the list using the date at the end. So, it should be like this:
I'm not really sure how I would go about doing this with the date being at the end. Also, the initial string (example) will not always be the same length. The list is being generated into a RichTextBox. Ideally, I am wanting to sort these as they are put into the RichTextBox, or afterwards when saving into a text file. Any help or suggestions would be greatly appreciated..
I have a list like this:
VB.NET:
example0 2010
example1 1999
example2 2006
example3 1989
example4 2014
and I would like to arrange the list using the date at the end. So, it should be like this:
VB.NET:
example3 1989
example1 1999
example2 2006
example0 2010
example4 2014
I'm not really sure how I would go about doing this with the date being at the end. Also, the initial string (example) will not always be the same length. The list is being generated into a RichTextBox. Ideally, I am wanting to sort these as they are put into the RichTextBox, or afterwards when saving into a text file. Any help or suggestions would be greatly appreciated..
Last edited by a moderator: