>>Thank you very much. That was exactly what I needed. I was able to reduce my code with quite a few lines.
>
>Talking about code reduction, although in this case you already have a better solution, if you use a variation of "C", as a matter of principle I wouldn't use the same expression on both sides of the assignment. In other words, I think you should replace:
>
>
>myString = myString + ca[i].ToString();
>
>
>with the following:
>
>
>myString += ca[i].ToString();
>
Hilmar,
Yeah yeah I know. I have been picked on because of that before.<s> I am not sure why bet I have never been comfortable using '+=', I guess it is easier for me to read it the other way.
Einar
Semper ubi sub ubi.