I've been trying to write a string sorting algorithm for the past few days.
I'm using a lanugage that does not have any built-in functions that sort the way I want to sort.
The strings will contain alpha and numeric characters.
Here's an example of what I want to do:
Let's say we have a file with the following strings:
TEST, BELT, 40E, A1, A2, 1, 2,3, 4, 1A, 1D, 2D, 65A, 3D, 4D, 10D, 1E, 20D, 30D, 40D, 41D, 1D1
The user is able to choose a minimum and maximum.
For example, user enters
Min: 1D
Max: 40D
and it should pull the following:
1D, 2D, 3D, 4D, 10D, 20D, 30D, 40D
(in that order)
I'm guessing it would be similar to the StrCmpLogicalW function, but I would like it to not be case sensitive.
I would appreciate the help.
I'm using a lanugage that does not have any built-in functions that sort the way I want to sort.
The strings will contain alpha and numeric characters.
Here's an example of what I want to do:
Let's say we have a file with the following strings:
TEST, BELT, 40E, A1, A2, 1, 2,3, 4, 1A, 1D, 2D, 65A, 3D, 4D, 10D, 1E, 20D, 30D, 40D, 41D, 1D1
The user is able to choose a minimum and maximum.
For example, user enters
Min: 1D
Max: 40D
and it should pull the following:
1D, 2D, 3D, 4D, 10D, 20D, 30D, 40D
(in that order)
I'm guessing it would be similar to the StrCmpLogicalW function, but I would like it to not be case sensitive.
I would appreciate the help.