Hey has anyone else noticed a bug in the Pos function I am doing something like this and getting bogus results epos := Pos(data,'<'); if I do a writeline on data it is <idesetting> and I get something like a 6 back? I found this when I copied over some delphi code. Cliff