In article <[email protected]>,
 Shmuel (Seymour J.) Metz <[email protected]> wrote:

> >Null terminated strings have simplified all kids of text
> >manipulation, lexical scanning, and data storage/communication 
> >code resulting in immeasurable savings over the years.
> 
> Yeah, especially code that needs to deal with lengths and nulls. It's
> great for buffer overruns too.

I once worked on a C++ project that used a string class which kept a 
length count, but also allocated one extra byte and stuck a null at the 
end of every string.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to