> Length( s ) will always yield the number of chars in s. So how does one obtain the number of bytes in a string if one wants to use AnsiChar to check every character? Does s[0] work? Ross.