For you pros out there, maybe what I'm going to ask is just a silly question (it must be - I know, I know...), but that one is the sole reason I'm here. And I must warn the generous ones who might help me that I'm a complete moron concerning math, software, statistics and db issues (among other things, which I wont tell so that you don't laugh too loud...)
I want to find a software that allows me to search for numbers in this particular situation: given several number sequences, I want to know how many sequences have the same numbers.
Also, I would like to be able to search for sequences inside the sequences. Let me be clear: if the sequences are 10 numbers long, I want to start searching one number, than 2 and so on.
My intuition, and my ignorance, both tell me this is something very simple from a programming point of view, and maybe Excel or Access or another well known software might do the trick, but I'm too stupid to figure it out (or just to lazy, which ends to be the same).
So, if a compassion soul could help me, the angels will ring their bells (or whatever they do for the occasion).
Is basic pattern matching what you want to do? It would help me a lot to help you if I understood a real world example of what you are trying to do, because I don't clearly understand that yet.
If you want to do basic pattern matching, there are literally thousands of common variations. Depending on what kind of match you are trying to find, the method you use to search for patterns and the way you compare how closely given patterns match each other varies immensely.
This is not a small field of study, there are many people who've devoted significant parts of their careers to finding ways to find better pattern matches.
Now, I want to find the one where is this sequence: 2, 43, 78, 666
I want to be able to identify it, and also find which ones have some of the numbers I'm looking for, although not all of them. For example, I would also want to know how many and which ones have the number 2, and the sequence 2, 78, etc.
Sorry, I can't use the technical words from this field of knowledge to explain myself better, so I don't know if this is basic pattern matching or some other thing. (of course, if I could use them I would not be here in the first place, since I would know all about this apparently - for me - very basic question...)
Searching comma-delimited strings of integers (copied from your examples) for numbers that occur in a set of integers can be done with Excel.
I created an Excel function that parses the string into an array of integers, and another array stores the target set of integers, which should be in cells in row #1 starting in column B. The function compares the two arrays and displays targets found in a comma-delimited string. The function can be copied to cells below as needed.
You will see "Application.Volitile" in the code; this causes the function to recalculate whenever the worksheet calculates. You will see the results updated whenever you make a change to the numbers that would give different results.
I used Excel 2000 for the attached solution. This works for me and I hope it works for you. The function's VBA code can be viewed by pressing Alt+F11 after the workbook has been opened.