From: "Paul Vriens" <[EMAIL PROTECTED]> > But there's an if in between: > > if (count == -1) count = strlenW(str);
Yeap, missed that one. Which proves that the code should be improved, since it managed to confuse 2 people already ;) -- Dimi Paun <[EMAIL PROTECTED]> Lattica, Inc.