From: "Paul Vriens" <Paul.Vriens at xs4all.nl> > 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 <dimi at lattica.com> Lattica, Inc.