I have some strings, ex:
A[10] = "message";
B[25] = "AAmSSeDDsFFsGGaHHgJJe";
C[10] = "messaeg";
So i need some ideas for finding substrings like this: in the example, A is substring of B coz with eleminating some characters (only eleminating, not moving their place!) we can get string A, and A is not substring of C.
I have tried with strncmp() and strchr() but no success.
Any ideas about this ?

