Duh!! I knew that already. But what if strpos cannot find anything, let's say it returns "". I have to check all this:
"": string doesn't play a role in all this (ignore that string)
"0": string begins at pos 0 (first strpos).
"16" (or other): string begins at 16 (or so).
You must ignore the "" values, but not the "0" values, and then compare all the string positions (I have approxamately 50 strings) not taking the "" strings in consideration.
How do I do this? I 50-level-deep if statement seems unreasonable to me. TIA.
Greetz,
Vincent Driessen
Venlo, The Netherlands